-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 913 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
32
33
34
35
{
"extends": [
"semistandard"
],
"env": {
"node": true,
"jest": true
},
"rules": {
"space-before-function-paren": 0,
"no-control-regex": 0,
"no-console": 1,
"no-var": 2,
"prefer-const": 1,
"no-prototype-builtins": 0,
"no-useless-escape": 1,
"comma-dangle": 0,
"keyword-spacing": ["error", { "before": true, "after": true }],
"comma-spacing": ["error", { "before": false, "after": true }],
"indent": 0,
"prefer-spread": 1,
"no-mixed-operators": 1,
"camelcase": ["error", {
"allow": ["^UNSAFE_"],
"properties": "never",
"ignoreGlobals": true
}],
"quotes": [
"error", "single", {
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
}
}