forked from cybercongress/cyb-archeology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
37 lines (37 loc) · 1.06 KB
/
.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
36
37
{
"extends": ["standard-react", "airbnb"],
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"globals": {
"expect": true,
"FileReader": true
},
"rules": {
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false }],
"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"],
"react/jsx-indent-props": [2, 2],
"react/prop-types": 0,
"react/jsx-indent": ["warn", 4],
"indent": ["warn", 4, {"ignoredNodes": ["JSXElement *", "JSXElement"]}]
}
}