-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 879 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
{
"parser" : "babel-eslint",
"extends" : [
"react-app"
],
"plugins" : [
"import"
],
"env" : {
"browser" : true
},
"globals" : {
"__DEV__" : false,
"__PROD__" : false,
"__TEST__" : false,
"__DEBUG__" : false,
"__DEBUG_NEW_WINDOW__" : false,
"__BASENAME__" : false
},
"rules": {
"arrow-parens": 0,
"comma-dangle": [2, "only-multiline"],
"react/jsx-indent": 1,
"react/jsx-no-bind": 0,
"react/jsx-space-before-closing": 0,
"react/jsx-tag-spacing": [2, {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never"
}],
"react/no-unused-prop-types": 0,
"semi" : [2, "never"],
"spaced-comment": [1, "always"],
"no-duplicate-imports": 0,
"import/no-duplicates": 1
},
"settings": {
"import/resolver": "webpack"
}
}