0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/js/tests/.eslintrc.json
2017-04-21 21:08:40 +10:00

48 lines
986 B
JSON

{
"env": {
"es6": false,
"qunit": true
},
"globals": {
"Util": false
},
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"extends": "../.eslintrc.json",
"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",
// Strict Mode
"strict": "off",
// NodeJS and CommonJS
"global-require": "off",
"no-process-env": "off",
"no-process-exit": "off",
// Stylistic Issues
"brace-style": "off",
"func-style": "off",
"max-statements-per-line": "off",
"object-curly-newline": "off",
"object-property-newline": "off",
"spaced-comment": "off",
// ECMAScript 6
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-template": "off",
"prefer-rest-params": "off"
}
}