-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
48 lines (48 loc) · 1.15 KB
/
.eslintrc.json
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
38
39
40
41
42
43
44
45
46
47
48
{
"extends": "airbnb/base",
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [
"node"
],
"rules": {
"global-require": 0,
"no-restricted-syntax": [0, "ForOfStatement"],
"space-before-blocks": [0, "never"],
"no-plusplus": 0,
"keyword-spacing": 0,
"node/no-missing-import": 2,
"node/no-missing-require": 2,
"no-tabs": 0,
"import/no-unresolved": 0,
"quotes": [2, "single", {"avoidEscape": true, "allowTemplateLiterals": true}],
"object-curly-spacing": 0,
"eqeqeq": 2,
"strict": 2,
"strict": [0, "global"],
"new-cap": [2, {
"newIsCap": true,
"capIsNew": false,
"newIsCapExceptions": [],
"capIsNewExceptions": []
}],
"global-strict": [0, "always"],
"no-warning-comments": [1, { "terms": ["todo", "fixme", "urgent", "fix"], "location": "anywhere"}],
"no-console": 0,
"no-multi-spaces": 0,
"comma-dangle": 0,
"no-unused-vars": 1,
"no-use-before-define": 1,
"space-before-function-paren": [0, "never"],
"no-param-reassign": 0,
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
"indent": [1, "tab"],
"consistent-return": 1
}
}