-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.json
38 lines (38 loc) · 1.03 KB
/
.eslintrc.json
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
31
32
33
34
35
36
37
38
{
"env": {
"node": true
},
"extends": [
"airbnb-typescript/base"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["import"],
"rules": {
"@typescript-eslint/indent": [
"error",
4
],
"@typescript-eslint/lines-between-class-members": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/quotes": ["error", "double"],
"quote-props": ["error", "consistent"],
"no-console": "off",
"max-classes-per-file": "off",
"prefer-destructuring": "off",
"@typescript-eslint/comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}
],
"no-restricted-syntax": "off",
"no-multi-str": "off"
}
}