forked from wet-boew/wet-boew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (50 loc) · 880 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
{
"extends": [
"eslint:recommended",
"jquery"
],
"env": {
"browser": true,
"es6": true,
"jquery": true
},
"globals": {
"wb": true,
"Modernizr": true,
"yepnope": true,
"JSON": 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
}
}
]
}