-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy patheslint.json
49 lines (49 loc) · 1000 Bytes
/
eslint.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
49
{
"parserOptions": {
"ecmaVersion": 8
} ,
"env": {
"browser": true,
"jquery": true,
"node": true
},
"globals": {
"angular": false,
"window": false,
"document": false,
"qlik": false,
"ga": false,
"Promise": false
},
"rules": {
"no-alert": 0,
"no-bitwise": 0,
"camelcase": 1,
"curly": 1,
"eqeqeq": 0,
"no-eq-null": 0,
"guard-for-in": 1,
"no-empty": 1,
"no-use-before-define": 1,
"no-obj-calls": 2,
"no-unused-vars": 1,
"new-cap": [1, { "capIsNewExceptions": ["express.Router"] }],
"no-shadow": 0,
"strict": 0,
"no-invalid-regexp": 2,
"comma-dangle": 2,
"no-undef": 1,
"no-new": 1,
"no-extra-semi": 1,
"no-debugger": 2,
"no-caller": 1,
"semi": 1,
"quotes": 0,
"no-unreachable": 2,
"no-multi-spaces": "warn",
"default-case": "error",
"require-jsdoc": "warn",
"indent": ["warn", "tab", { "SwitchCase": 1, "ArrayExpression": 1, "ObjectExpression": 1 }],
"no-console": "warn"
}
}