-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
45 lines (45 loc) · 1.14 KB
/
.eslintrc
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
{
"env": {
"node": true,
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"plugins": ["standard", "babel"],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"arrow-parens": ["error", "as-needed"],
"standard/object-curly-even-spacing": [2, "never"],
"standard/array-bracket-even-spacing": [2, "either"],
"standard/computed-property-even-spacing": [2, "even"],
"standard/no-callback-literal": [2, ["cb", "callback"]],
"babel/new-cap": 1,
"babel/camelcase": 1,
"babel/no-invalid-this": 1,
"babel/object-curly-spacing": 0,
"babel/quotes": 1,
"babel/semi": 1,
"babel/no-unused-expressions": 1,
"babel/valid-typeof": 1,
"comma-dangle": "off",
"object-curly-newline": "off",
"quotes": "off",
"semi": "off",
"object-curly-spacing": "off",
"import/no-extraneous-dependencies": "off",
"max-len": ["error", { "code": 120} ],
"no-undef": "off"
},
"overrides": []
}