-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (40 loc) · 860 Bytes
/
.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
{
"env": {
"browser": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:react/recommended",
"standard"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"classes": true,
"jsx": true
},
"ecmaVersion": 6
},
"plugins": ["standard"],
"root": true,
"rules": {
"class-methods-use-this": 0,
"max-len": ["error", {
"code": 100,
"ignoreTemplateLiterals": true,
"ignoreStrings": true,
"ignoreRegExpLiterals": true
}],
"import/no-absolute-path": 0,
"import/order": [2, {
"groups": [ "builtin", "external", "internal", "parent", "sibling", "index" ],
"newlines-between": "always"
}],
"no-underscore-dangle": 0,
"no-console": 2
}
}