-
Notifications
You must be signed in to change notification settings - Fork 33
/
.eslintrc
45 lines (44 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
40
41
42
43
44
45
{
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["react"],
"globals": {
"define": true,
"requirejs": true,
"analytics": true
},
"rules": {
"semi": [2, "always"],
"no-alert": 2,
"no-debugger": 2,
"no-empty": 2,
"new-cap": 0,
"no-dupe-class-members": 2,
"no-restricted-syntax": [2, "WithStatement"],
"no-unused-expressions": 2,
"no-trailing-spaces": 1,
"no-shadow": 2,
"no-undef": 2,
"no-use-before-define": 0,
"curly": 2,
"react/jsx-boolean-value": [2, "always"],
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 0,
"react/no-did-update-set-state": 0,
"react/no-multi-comp": 1,
"react/no-unknown-property": 2,
"react/react-in-jsx-scope": 2
}
}