-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (34 loc) · 941 Bytes
/
.eslintrc.json
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
{
"extends": ["semistandard", "standard-react"],
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"expect": true,
"FileReader": true
},
"rules": {
"no-unused-vars": ["warn", "all"],
"curly": ["warn", "all"],
"jsx-quotes": ["warn", "prefer-single"],
"newline-after-var": ["warn", "always"],
"no-alert": "warn",
"no-debugger": "warn",
"no-duplicate-imports": ["warn", {
"includeExports": true
}],
"object-curly-spacing": ["warn", "always"],
"object-property-newline": 0,
"one-var-declaration-per-line": ["warn", "always"],
"padded-blocks": ["warn", {
"blocks": "never",
"classes": "never",
"switches": "never"
}],
"react/jsx-closing-bracket-location": "warn",
"react/jsx-curly-spacing": ["warn", "always"]
}
}