-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 884 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
{
"extends": "airbnb",
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"semi": [2, "never"],
"strict": [2, "global"],
"one-var-declaration-per-line": [2, "initializations"],
"one-var": [2, {"uninitialized": "always", "initialized": "never" }],
"max-len": [1, 130],
"no-multiple-empty-lines": ["error", {"max": 2}],
"no-unused-expressions": ["error", {"allowShortCircuit": true}],
// "no-undefined": 2,
// "new-cap": 0,
// "no-underscore-dangle": 0,
// "func-names": 0,
// "no-param-reassign": 0,
// "no-cond-assign": 0,
// "camelcase": 0,
// "no-console": 0,
// "no-else-return": 0,
// "prefer-template": 0,
// "no-invalid-this": 0,
"object-curly-spacing": ["error", "never"]
}
}