-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
41 lines (41 loc) · 995 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
41
{
"ecmaFeatures": {
"modules": true,
"jsx": true
},
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [ "react" ],
"rules": {
"arrow-spacing": 2,
"comma-dangle": [ 2, "always-multiline" ],
"dot-notation": 2,
"eqeqeq": 2,
"linebreak-style": [ 2, "unix" ],
"no-else-return": 2,
"no-undef": 2,
"no-unreachable": 2,
"no-unused-vars": 2,
"no-useless-constructor": 2,
"no-var": 2,
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"quotes": [ 2, "backtick" ],
"semi": [ 2, "never" ],
"space-in-parens": [ 2, "never" ],
"strict": 0,
"react/jsx-indent": [ 2, 2 ],
"react/jsx-key": 2,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-direct-mutation-state": 2,
"react/no-unknown-property": 2,
"react/prefer-stateless-function": 2,
"react/self-closing-comp": 2,
"react/react-in-jsx-scope": 2
}
}