-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc.json
38 lines (38 loc) · 1.08 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
{
"root": true,
"extends": [
"airbnb-typescript/base"
],
"env": {
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": { "impliedStrict": true },
"project": "./tsconfig.json"
},
"rules": {
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "only-multiline"
}],
"lines-between-class-members": "off",
"import/no-extraneous-dependencies": "warn",
"import/no-cycle": "off",
"indent": ["warn", 4],
"class-methods-use-this": "off",
"func-names": "off",
"key-spacing": "off",
"no-await-in-loop": "off",
"no-underscore-dangle": "off",
"object-curly-newline": "off",
"object-property-newline": "off",
"@typescript-eslint/indent": ["warn", 4]
}
}