-
Notifications
You must be signed in to change notification settings - Fork 35
/
.eslintrc
37 lines (37 loc) · 945 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
36
37
{
"extends": "google",
"env": {
"node": true
},
"rules": {
// "off" or 0 - turn the rule off
// "warn" or 1 - turn the rule on as a warning (doesn’t affect exit code)
// "error" or 2 - turn the rule on as an error (exit code is 1 when triggered)
"no-multiple-empty-lines": 0,
"padded-blocks": 0,
"curly": [0, "multi-line"],
"max-len": [1, 120, {
"ignoreComments": true,
"ignoreUrls": true,
"tabWidth": 2
}],
"no-implicit-coercion": [2, {
"boolean": false,
"number": true,
"string": true
}],
"no-unused-expressions": [2, {
"allowShortCircuit": true,
"allowTernary": false
}],
"no-unused-vars": [1, {
"vars": "all",
"args": "after-used",
"argsIgnorePattern": "(^reject$|^_$)",
"varsIgnorePattern": "(^_$|andboxedModel$)"
}],
"quotes": [2, "single"],
"require-jsdoc": 0,
"valid-jsdoc": 0
}
}