-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
38 lines (38 loc) · 877 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
{
"parser" : "babel-eslint",
"extends" : [
"standard"
],
"env" : {
"browser" : true
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__COVERAGE__" : false,
"__BASENAME__" : false
},
"rules": {
"no-console": 1,
"semi": [2, "always"],
"max-len": [2, 120, 2],
"import/no-unresolved": 2,
"import/export": 2,
"import/no-extraneous-dependencies": 2,
"import/no-mutable-exports": 2,
"import/no-amd": 2,
"import/imports-first": 2,
"import/no-duplicates": 2,
"import/no-namespace": [2, {"js": "never", "json": "always", "scss": "always"}],
"import/newline-after-import": 0,
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}],
"object-curly-spacing": [2, 'always'],
},
"settings": {
"import/extensions": ['.js', '.jsx']
},
"plugins": [
"import"
]
}