-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (30 loc) · 1003 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
{
"extends": [
"react-app",
"plugin:react/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"arrow-spacing": ["error", { "before": true, "after": true }],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"constructor-super": "error",
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"no-const-assign": "error",
"no-debugger": "warn",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-extra-parens": ["error", "functions"],
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }],
"no-tabs": "error",
"no-this-before-super": "error",
"semi": ["error", "always"],
"react/prop-types": "warn"
}
}