-
Notifications
You must be signed in to change notification settings - Fork 113
/
.eslintrc.json
48 lines (48 loc) · 940 Bytes
/
.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
39
40
41
42
43
44
45
46
47
48
{
"extends": "airbnb-base",
"env": {
"browser": true,
"mocha": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"sourceType": "module"
},
"rules": {
"brace-style": "warn",
"class-methods-use-this": 0,
"comma-dangle": [
"warn",
"only-multiline"
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"lines-between-class-members": "off",
"linebreak-style": "off",
"max-len": [
"warn",
128
],
"no-promise-executor-return": "warn",
"no-var": "error",
"no-useless-constructor": "off",
"object-curly-newline": "warn",
"object-curly-spacing": "warn",
"prefer-arrow-callback": "off",
"prefer-const": "warn",
"prefer-destructuring": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "always"
}
]
}
}