mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
6633845901
* Bump eslint-config-xo from 0.35.0 to 0.36.0 Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.35.0 to 0.36.0. - [Release notes](https://github.com/xojs/eslint-config-xo/releases) - [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.35.0...v0.36.0) Signed-off-by: dependabot[bot] <support@github.com> * Adapt config Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
49 lines
1 KiB
JSON
49 lines
1 KiB
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",
|
|
"no-var": "off",
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"object-shorthand": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"prefer-destructuring": "off",
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"strict": "error",
|
|
"unicorn/no-array-for-each": "off",
|
|
"unicorn/no-for-loop": "off",
|
|
"unicorn/no-null": "off",
|
|
"unicorn/prefer-dom-node-append": "off",
|
|
"unicorn/prefer-dom-node-dataset": "off",
|
|
"unicorn/prefer-module": "off",
|
|
"unicorn/prefer-query-selector": "off",
|
|
"unicorn/prevent-abbreviations": "off"
|
|
}
|
|
}
|