mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
75b2934596
* @babel/cli ^7.14.5 → ^7.14.8 * @babel/core ^7.14.6 → ^7.14.8 * @babel/preset-env ^7.14.7 → ^7.14.8 * eslint-config-xo ^0.36.0 → ^0.37.0 * eslint-plugin-unicorn ^31.0.0 → ^34.0.1 * hugo-bin ^0.73.0 → ^0.74.0
73 lines
1.6 KiB
JSON
73 lines
1.6 KiB
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:unicorn/recommended",
|
|
"xo",
|
|
"xo/browser"
|
|
],
|
|
"rules": {
|
|
"arrow-body-style": "off",
|
|
"capitalized-comments": "off",
|
|
"comma-dangle": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"MemberExpression": "off",
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"max-params": [
|
|
"warn",
|
|
5
|
|
],
|
|
"multiline-ternary": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"new-cap": [
|
|
"error",
|
|
{
|
|
"properties": false
|
|
}
|
|
],
|
|
"no-console": "error",
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"operator-linebreak": [
|
|
"error",
|
|
"after"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"unicorn/consistent-function-scoping": "off",
|
|
"unicorn/explicit-length-check": "off",
|
|
"unicorn/no-array-callback-reference": "off",
|
|
"unicorn/no-array-for-each": "off",
|
|
"unicorn/no-array-method-this-argument": "off",
|
|
"unicorn/no-for-loop": "off",
|
|
"unicorn/no-null": "off",
|
|
"unicorn/no-unused-properties": "error",
|
|
"unicorn/no-useless-undefined": "off",
|
|
"unicorn/numeric-separators-style": "off",
|
|
"unicorn/prefer-array-flat": "off",
|
|
"unicorn/prefer-dom-node-append": "off",
|
|
"unicorn/prefer-dom-node-dataset": "off",
|
|
"unicorn/prefer-dom-node-remove": "off",
|
|
"unicorn/prefer-module": "off",
|
|
"unicorn/prefer-prototype-methods": "off",
|
|
"unicorn/prefer-query-selector": "off",
|
|
"unicorn/prefer-spread": "off",
|
|
"unicorn/prevent-abbreviations": "off"
|
|
}
|
|
}
|