forked from ablanco/jquery.pwstrength.bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
41 lines (41 loc) · 1.04 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
{
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"env": {
"browser": true
},
"globals": {
"jQuery": false
},
"extends": "eslint:recommended",
"rules": {
"guard-for-in": 2,
"no-alert": 1,
"no-caller": 2,
"no-else-return": 2,
"no-empty-function": 2,
"no-eval": 2,
"no-implicit-globals": 2,
"no-implied-eval": 2,
"no-new": 1,
"no-return-assign": 2,
"no-return-await": 2,
"no-self-compare": 2,
"no-sequences": 2,
"vars-on-top": 2,
"no-shadow": 1,
"no-use-before-define": 2,
"camelcase": ["error", {"properties": "always"}],
"no-plusplus": 2,
"no-tabs": 2,
"no-nested-ternary": 2,
"one-var": ["error", "always"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"comma-dangle": ["error", "never"],
"radix": ["error", "always"],
"eqeqeq": ["error", "always"]
}
}