-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.yml
28 lines (27 loc) · 861 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
root: true
parser: "@typescript-eslint/parser"
plugins: [ "@typescript-eslint" ]
overrides:
- files: [ "*.ts" ]
excludedFiles: [ "*.d.ts" ]
parserOptions:
project: ./tsconfig.json
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
rules:
no-constant-condition:
- error
- checkLoops: false
no-debugger: warn # no error
no-inner-declarations: off # allow functions inside blocks
no-loss-of-precision: warn
no-promise-executor-return: warn
no-mixed-spaces-and-tabs: off # allow smart tabs
quotes:
- warn
- single
- avoidEscape: true
"@typescript-eslint/explicit-module-boundary-types": off
"@typescript-eslint/no-non-null-assertion": off