-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 985 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
{
"parser" : "babel-eslint",
"extends" : [
"airbnb",
],
"plugins": [
"babel",
"react",
"promise"
],
"env" : {
"browser" : true
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__DEBUG__" : false,
"__COVERAGE__" : false,
"__BASENAME__" : false,
"__SOCKET_URL__" : false
},
"rules": {
"global-require": [0],
"brace-style": [2, "stroustrup"],
"import/no-unresolved": [0],
"new-cap": [2, { "capIsNew": false }],
"max-len": [1],
"no-confusing-arrow": [2, {"allowParens": true}],
"import/no-extraneous-dependencies": [0],
"import/no-named-as-default": [0],
"generator-star-spacing": [0],
"babel/generator-star-spacing": [2, {"before": true, "after": false}],
"no-constant-condition": [2, {"checkLoops": false}],
"react/jsx-filename-extension": [0],
"func-names": [0],
"react/prefer-stateless-function": [1],
"no-underscore-dangle": [0]
}
}