forked from Modernizr/Modernizr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 914 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
{
"extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
"env": {
"amd": true,
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"DocumentTouch": true,
"Modernizr": true,
"requirejs": true,
"expect": true,
"$": true,
"_": true
},
"plugins": [
"jsdoc"
],
"rules": {
"getter-return": ["error", { "allowImplicit": true }],
"jsdoc/check-tag-names": ["error", { "definedTags": ["memberOf", "optionName", "optionProp"] }],
"jsdoc/require-jsdoc": "off",
"no-empty": "off",
"no-prototype-builtins": "off",
"no-restricted-syntax": ["error",
{
"selector": "CallExpression[callee.object.name='window'][callee.property.name='getComputedStyle']",
"message": "Do not use `getComputedStyle`, import and use the `computedStyle` helper"
}
],
"no-useless-escape": "off"
}
}