Debian Codegraph @

.eslintrc

raw
1 {
2 "extends": ["eslint:recommended", "plugin:jsdoc/recommended"],
3 "env": {
4 "amd": true,
5 "browser": true,
6 "es6": true,
7 "node": true,
8 "mocha": true
9 },
10 "globals": {
11 "DocumentTouch": true,
12 "Modernizr": true,
13 "requirejs": true,
14 "expect": true,
15 "$": true,
16 "_": true
17 },
18 "plugins": [
19 "jsdoc"
20 ],
21 "rules": {
22 "getter-return": ["error", { "allowImplicit": true }],
23 "jsdoc/check-tag-names": ["error", { "definedTags": ["memberOf", "optionName", "optionProp"] }],
24 "jsdoc/require-jsdoc": "off",
25 "no-empty": "off",
26 "no-prototype-builtins": "off",
27 "no-restricted-syntax": ["error",
28 {
29 "selector": "CallExpression[callee.object.name='window'][callee.property.name='getComputedStyle']",
30 "message": "Do not use `getComputedStyle`, import and use the `computedStyle` helper"
31 }
32 ],
33 "no-useless-escape": "off"
34 }
35 }