forked from wet-boew/wet-boew
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
55 lines (55 loc) · 978 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
44
45
46
47
48
49
50
51
52
53
54
55
{
"extends": [
"eslint:recommended",
"jquery"
],
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"globals": {
"wb": true,
"Modernizr": true,
"yepnope": true,
"JSON": true,
"DOMPurify": true
},
"rules": {
"indent": ["error", "tab", { "outerIIFEBody": 0 }],
"eqeqeq": [2, "allow-null"],
"no-eq-null": 2,
"no-unused-expressions": [2, { "allowTernary": true }],
"wrap-iife": [
2,
"any"
],
"no-unused-vars": [2, { "varsIgnorePattern": "wet_boew_"}],
"camelcase": 0,
"max-len": [
2,
500
],
"no-irregular-whitespace": 2,
"no-nested-ternary": 0,
"linebreak-style": 0
},
"overrides": [
{
"files":[
"**/test.js"
],
"globals": {
"sinon": true,
"expect": true
},
"env": {
"mocha": true
}
}
]
}