2016-10-25 14:18:52 +02:00
|
|
|
{
|
|
|
|
"env": {
|
2017-04-20 12:33:51 +02:00
|
|
|
"es6": false,
|
2017-10-04 16:31:35 +02:00
|
|
|
"qunit": true,
|
|
|
|
"jquery": true
|
2016-10-25 14:18:52 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"Util": false
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 5,
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2016-12-31 06:09:26 +01:00
|
|
|
"extends": "../.eslintrc.json",
|
2016-10-25 14:18:52 +02:00
|
|
|
"rules": {
|
|
|
|
// Best Practices
|
|
|
|
"consistent-return": "off",
|
|
|
|
"no-alert": "off",
|
|
|
|
"no-console": "off",
|
|
|
|
"no-empty-function": "off",
|
|
|
|
"no-extend-native": "off",
|
|
|
|
"no-magic-numbers": "off",
|
|
|
|
"vars-on-top": "off",
|
|
|
|
|
2016-12-31 06:09:26 +01:00
|
|
|
// NodeJS and CommonJS
|
|
|
|
"global-require": "off",
|
|
|
|
"no-process-env": "off",
|
|
|
|
"no-process-exit": "off",
|
2017-08-29 21:16:00 +02:00
|
|
|
"no-sync": "off",
|
2016-12-31 06:09:26 +01:00
|
|
|
|
2016-10-25 14:18:52 +02:00
|
|
|
// Stylistic Issues
|
|
|
|
"brace-style": "off",
|
|
|
|
"func-style": "off",
|
|
|
|
"max-statements-per-line": "off",
|
|
|
|
"object-curly-newline": "off",
|
|
|
|
"object-property-newline": "off",
|
2016-12-31 06:09:26 +01:00
|
|
|
"spaced-comment": "off",
|
2016-10-25 14:18:52 +02:00
|
|
|
|
|
|
|
// ECMAScript 6
|
|
|
|
"no-var": "off",
|
|
|
|
"object-shorthand": "off",
|
|
|
|
"prefer-arrow-callback": "off",
|
|
|
|
"prefer-template": "off",
|
|
|
|
"prefer-rest-params": "off"
|
|
|
|
}
|
|
|
|
}
|