forked from CryptoWeb/node-nimbusec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
80 lines (80 loc) · 1.09 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"rules": {
"indent": [
2,
"tab",
{
"SwitchCase": 1
}
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"complexity": [
"error",
8
],
"callback-return": 2,
"yoda": 2,
"no-useless-call": 2,
"radix": 2,
"default-case": 2,
"no-self-assign": 2,
"no-self-compare": 2,
"curly": 2,
"no-octal": 2,
"no-useless-escape": 2,
"no-else-return": 2,
"comma-style": 2,
"brace-style": 2,
"max-lines": [
2,
{
"max": 500
}
],
"max-len": [
2,
{
"code": 140,
"tabWidth": 4,
"ignoreUrls": true
}
],
"camelcase": 2,
"no-multiple-empty-lines": [
2,
{
"max": 2,
"maxEOF": 1,
"maxBOF": 1
}
],
"no-console": 1,
"id-blacklist": [
2,
"bool",
"list",
"e",
"ex"
]
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"globals": {
"__base": true
}
}