twbs--bootstrap/.eslintrc.json

52 lines
1.1 KiB
JSON
Raw Normal View History

2015-08-19 02:22:46 +00:00
{
2016-10-25 12:18:52 +00:00
"root": true,
"parser": "babel-eslint",
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended",
"xo/esnext",
"xo/browser"
],
2016-10-25 12:18:52 +00:00
"rules": {
"capitalized-comments": "off",
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
2016-10-25 12:18:52 +00:00
}
],
"max-params": [
"warn",
5
],
"multiline-ternary": [
"error",
"always-multiline"
],
2019-02-26 13:13:59 +00:00
"new-cap": "off",
"object-curly-spacing": [
"error",
"always"
],
"semi": [
"error",
"never"
],
2019-09-24 09:34:57 +00:00
"unicorn/consistent-function-scoping": "off",
2019-02-26 13:13:59 +00:00
"unicorn/explicit-length-check": "off",
"unicorn/import-index": "off",
"unicorn/no-for-loop": "off",
2019-02-26 13:13:59 +00:00
"unicorn/no-unused-properties": "error",
2019-09-24 09:34:57 +00:00
"unicorn/prefer-dataset": "off",
"unicorn/prefer-includes": "off",
2019-02-26 13:13:59 +00:00
"unicorn/prefer-node-append": "off",
"unicorn/prefer-node-remove": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-text-content": "off",
"unicorn/prevent-abbreviations": "off"
2016-10-25 12:18:52 +00:00
}
2015-08-19 02:22:46 +00:00
}