-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
51 lines (51 loc) · 1.29 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"react-app"
],
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "latest"
}
},
"rules": {
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"object-curly-newline": ["error", { "consistent": true }],
"semi": [2, "never"],
"camelcase": 0,
"indent": [2, "tab", { "SwitchCase": 1 }],
"no-tabs": 0,
"max-len": 0,
"no-param-reassign": [2, { "props": false }],
"func-names": [2, "never"],
"no-mixed-spaces-and-tabs": "error",
"no-trailing-spaces": "error",
"keyword-spacing": ["error", { "before": true, "after": true }],
"computed-property-spacing": ["error", "always"],
"space-before-blocks": "error",
"arrow-spacing": "error",
"space-before-function-paren": "error",
"object-curly-spacing": ["error", "always"],
"no-multi-spaces": "error",
"block-spacing": "error"
}
}