mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
37f2c04c5f
* Remove unneeded rule suppression * Format tests/unit/.eslintrc.json * build/.eslintrc.json: add strict for consistency
44 lines
852 B
JSON
44 lines
852 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"sourceType": "script"
|
|
},
|
|
"extends": [
|
|
"plugin:unicorn/recommended",
|
|
"xo",
|
|
"xo/browser"
|
|
],
|
|
"rules": {
|
|
"capitalized-comments": "off",
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"MemberExpression": "off",
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"multiline-ternary": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"no-new": "off",
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"strict": "error",
|
|
"unicorn/no-for-loop": "off",
|
|
"unicorn/no-null": "off",
|
|
"unicorn/prefer-dataset": "off",
|
|
"unicorn/prefer-includes": "off",
|
|
"unicorn/prefer-node-append": "off",
|
|
"unicorn/prefer-query-selector": "off",
|
|
"unicorn/prevent-abbreviations": "off"
|
|
}
|
|
}
|