forked from Modernizr/Modernizr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
71 lines (71 loc) · 1.35 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
{
"preset": "google",
"jsDoc": {
"requireHyphenBeforeDescription": true,
"requireNewlineAfterDescription": true,
"checkRedundantReturns": true,
"checkParamExistence": true,
"requireReturnTypes": true,
"requireParamTypes": true,
"checkReturnTypes": true,
"checkTypes": true,
"checkAnnotations": {
"preset": "jsdoc3",
"extra": {
"access": true,
"optionName": true,
"optionProp": true,
"memberof": true
}
}
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true,
"amd": true
},
"globals": {
"DocumentTouch": true,
"Modernizr": true,
"requirejs": true,
"expect": true,
"$": true,
"_": true
},
"rules": {
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"quotes": [
"error",
"single"
],
"curly": "error",
"wrap-iife": "off",
"no-caller": "error",
"no-cond-assign": [
"error",
"except-parens"
],
"eqeqeq": "off",
"no-eq-null": "error",
"new-cap": "off",
"no-undef": "error",
"no-unused-vars": "error",
"no-unused-expressions": "error",
"no-eval": "error",
"comma-style": [
"error",
"last"
],
"dot-notation": "off",
"valid-jsdoc": "error",
"no-global-getComputedStyle": "error"
}
}