bootstrap/.eslintrc.json

60 строки
1.3 KiB
JSON
Исходник Обычный вид История

2015-08-19 05:22:46 +03:00
{
2016-10-25 15:18:52 +03:00
"root": true,
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended",
"xo",
"xo/browser"
],
2016-10-25 15:18:52 +03:00
"rules": {
"capitalized-comments": "off",
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
2016-10-25 15:18:52 +03:00
}
],
"max-params": [
"warn",
5
],
"multiline-ternary": [
"error",
"always-multiline"
],
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"object-curly-spacing": [
"error",
"always"
],
"semi": [
"error",
"never"
],
2019-09-24 12:34:57 +03:00
"unicorn/consistent-function-scoping": "off",
2019-02-26 16:13:59 +03:00
"unicorn/explicit-length-check": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
2019-02-26 16:13:59 +03:00
"unicorn/no-unused-properties": "error",
"unicorn/no-useless-undefined": "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-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off"
2016-10-25 15:18:52 +03:00
}
2015-08-19 05:22:46 +03:00
}