-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
36 lines (35 loc) · 879 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
{
"extends": "eslint:recommended",
"rules": {
"comma-dangle": ["error", "never"],
"no-magic-numbers": ["warn"],
"no-extra-semi": ["warn"],
"no-extra-boolean-cast":["warn"],
"no-else-return": ["warn"],
"no-unused-vars": ["warn"],
"no-console": ["warn"],
"curly": ["warn","all"],
"no-empty-function": ["warn"],
"no-unmodified-loop-condition": ["warn"],
"vars-on-top": ["warn"],
"no-use-before-define": ["error"],
"max-len": ["warn",150],
"no-spaced-func": ["warn"],
"no-useless-escape": ["warn"]
},
"env": {
"browser": true,
"node": true,
"worker": true,
"mocha": true
},
"globals": {
"jQuery": true,
"$": true,
"NEJ": true,
"define": true,
"Regular": true,
"URS" : true,
"CryptoJS": true
}
}