forked from okta/okta-auth-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 964 Bytes
/
.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
{
"extends": ["eslint:recommended"],
"env": {
"browser": false,
"commonjs": true
},
"globals": {
"Promise": true,
"console": true,
"setTimeout": true,
"clearTimeout": true,
"setInterval": true,
"clearInterval": true
},
"rules": {
"camelcase": 2,
"complexity": [2, 7],
"curly": 2,
"dot-notation": 0,
"guard-for-in": 2,
"new-cap": [2, { "properties": false }],
"no-caller": 2,
"no-empty": 2,
"no-eval": 2,
"no-implied-eval": 2,
"no-multi-str": 0,
"no-new": 2,
"no-plusplus": 0,
"no-undef": 2,
"no-use-before-define": [2, "nofunc"],
"no-unused-expressions": [2, { "allowShortCircuit": true, "allowTernary": true }],
"no-unused-vars": 2,
"max-depth": [2, 3],
"max-len": [2, 120],
"max-params": [2, 5],
"max-statements": [2, 25],
"quotes": [2, "single"],
"semi": 2,
"strict": 0,
"wrap-iife": [2, "any"]
},
"root": true
}