0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/site/.eslintrc.json

64 lines
1.4 KiB
JSON
Raw Normal View History

{
2020-06-12 20:43:39 +02:00
"root": true,
"env": {
"es6": false,
"jquery": true
},
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
2020-06-12 20:43:39 +02:00
"extends": [
"plugin:unicorn/recommended",
"xo",
"xo/browser"
],
"rules": {
"arrow-body-style": "off",
2020-06-12 20:43:39 +02:00
"capitalized-comments": "off",
"comma-dangle": [
"error",
"never"
],
2020-06-12 20:43:39 +02:00
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
}
],
"no-var": "off",
2020-06-12 20:43:39 +02:00
"object-curly-spacing": [
"error",
"always"
],
"object-shorthand": "off",
"operator-linebreak": [
"error",
"after"
],
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
2020-06-12 20:43:39 +02:00
"semi": [
"error",
"never"
],
"strict": "error",
"unicorn/no-array-method-this-argument": "off",
2020-06-12 20:43:39 +02:00
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/numeric-separators-style": "off",
2020-06-12 20:43:39 +02:00
"unicorn/prefer-array-find": "off",
"unicorn/prefer-array-flat": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
2020-06-12 20:43:39 +02:00
"unicorn/prefer-includes": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-prototype-methods": "off",
2020-06-12 20:43:39 +02:00
"unicorn/prefer-query-selector": "off",
"unicorn/prevent-abbreviations": "off"
}
}