-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.yml
More file actions
30 lines (29 loc) · 742 Bytes
/
.eslintrc.yml
File metadata and controls
30 lines (29 loc) · 742 Bytes
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
29
30
# See: https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md#configuration
extends:
- airbnb-base
- airbnb-typescript/base
- prettier
plugins:
- "@typescript-eslint"
parser: "@typescript-eslint/parser"
parserOptions:
project:
- ./tsconfig.eslint.json
rules:
max-len:
- error
- code: 180
"@typescript-eslint/comma-dangle": "off"
no-console: "off"
padded-blocks: "off"
"@typescript-eslint/indent":
- error
- 2
- SwitchCase: 1
spaced-comment: warn
arrow-parens: "off"
consistent-return: "off"
no-useless-escape: "off"
no-underscore-dangle: "off"
import/prefer-default-export: "off"
"@typescript-eslint/type-annotation-spacing": error