-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
49 lines (49 loc) · 980 Bytes
/
.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
{
"extends": "airbnb",
"env": {
"commonjs": true,
"node": true,
"browser": true,
},
"ecmaFeatures": {
"es6": true
},
"globals": {
"DEBUG": true,
"nw": true,
"$": true,
"hljs": true,
},
"plugins": [
"html"
],
"rules": {
"no-param-reassign": [0],
"no-console": [0],
"one-var": [0],
"one-var-declaration-per-line": [0],
"global-require": [0],
"newline-per-chained-call": [0],
"semi": [2, "never"],
"no-unused-expressions": [2, {
"allowShortCircuit": true
}],
"max-len": [2, 100, 2, {
"ignoreUrls": true,
"ignoreComments": true
}],
"no-restricted-syntax": [2,
"DebuggerStatement",
"LabeledStatement",
"WithStatement"
],
"react/require-extension": [0],
"import/no-extraneous-dependencies": [0],
"import/newline-after-import": [0],
"import/no-unresolved": [2, {
"ignore": [
"dir-components"
]
}]
}
}