-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
45 lines (40 loc) · 922 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
{
"root": true,
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"extends": ["plugin:prettier/recommended"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"legacyDecorators": true
}
},
"plugins": [],
"rules": {
"eqeqeq": ["error", "always"],
"curly": 0,
"quotes": 0,
"no-undef": "error",
"id-length": ["error", { "min": 1, "max": 40 }],
"valid-typeof": "error",
"no-unreachable": "error",
"no-unused-vars": "error",
"no-const-assign": "error",
"constructor-super": "error",
"no-this-before-super": "error",
"class-methods-use-this": 0,
"import/no-namespace": 0,
"require-atomic-updates": 0,
"semi": 0,
"no-shadow": 0,
"no-extra-semi": 0,
"comma-dangle": 0
}
}