-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
27 lines (27 loc) · 1.02 KB
/
.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
{
"extends": "react-app",
"rules": {
"eqeqeq": "error",
"quotes": ["error", "single"],
"comma-dangle": ["error", "never"],
"strict": ["error", "global"],
"semi": ["error", "always"],
"no-undef": "error",
"radix": "error",
"no-eval": "error",
"brace-style": "error",
"comma-style": ["error", "last"],
"curly": "error",
"object-curly-spacing": ["error", "never"],
"comma-spacing": ["error", {"before": false, "after": true}],
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
"keyword-spacing": ["error", {"before": true, "after": true}],
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never" }],
"space-infix-ops": "error",
"space-before-blocks":"error",
"no-multi-spaces": "error",
"no-mixed-spaces-and-tabs": "error",
"no-trailing-spaces": "warn",
"max-len": ["warn", 100, 4]
}
}