forked from tak32/opc-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
58 lines (52 loc) · 1.22 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"env": {
"browser": true,
"node": true,
"jquery": true,
"mocha": true
},
"globals": {},
"rules": {
"no-extra-strict": false,
"default-case": 2,
"no-self-compare": 2,
"no-else-return": 2,
"no-throw-literal": 2,
"no-void": 2,
"no-var": false,
"no-alert": false,
"new-cap": false,
"max-params": [1, 5],
"max-depth": [1, 3],
"max-len": [1, 80, 2],
"comma-style": [2, "last"],
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
"consistent-this": false,
"space-in-brackets": [2, "never"],
"space-before-blocks": [2, "always"],
"space-after-keywords": [2, "always"],
"no-new-require": 2,
"no-lonely-if": 2,
"no-nested-ternary": 2,
"no-multiple-empty-lines": [2, {
"max": 1
}],
"no-unused-expressions": 0,
"no-use-before-define": 0,
"quotes": [2, "double"],
"no-multi-spaces": [2, {
"exceptions": {
"Property": true,
"ImportDeclaration": true,
"VariableDeclarator": true,
"AssignmentExpression": true
}
}],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}],
"no-underscore-dangle": false,
"no-loop-func": false
}
}