-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
40 lines (39 loc) · 980 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": "eslint-config-airbnb",
"plugins": ["react"],
"env": {
"browser": true,
"node": true
},
"rules": {
"react/jsx-quotes": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 2,
"react/prop-types": 2,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 1,
"react/wrap-multilines": 2,
"jsx-quotes": [2, "prefer-double"],
"quotes": [2, "single", "avoid-escape"],
"comma-dangle": [2, "never"],
"no-underscore-dangle": 0,
"space-in-brackets": 0,
"func-names": 0,
"no-else-return": 0,
"no-param-reassign": 0,
"semi": 0,
"comma-spacing": 0,
"space-before-function-paren": 0,
"new-cap": 0,
"no-unused-vars": 0,
"no-unused-expressions": 0,
"space-infix-ops": 0,
"no-empty": 0,
"no-undef": 0,
"prefer-const": 0
}
}