-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
32 lines (32 loc) · 925 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
{
"env": {
"node": true
},
"globals": {
"Promise": true
},
"rules": {
"curly": ["error", "all"],
"dot-location": ["error", "property"],
"no-console": "error",
"no-debugger": "error",
"no-eval": "error",
"no-extra-semi": "warn",
"no-implied-eval": "error",
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-new-func": "error",
"no-shadow": "warn",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-undef-init": "warn",
"no-unused-vars": ["error", {"args": "none"}],
"no-use-before-define": ["error", {"functions": false}],
"no-useless-call": "warn",
"no-useless-escape": "warn",
"no-with": "error",
"semi": ["warn", "always"],
"strict": ["error", "global"],
"valid-jsdoc": "warn"
}
}