2015-08-18 22:22:46 -04:00
|
|
|
{
|
2016-10-25 08:18:52 -04:00
|
|
|
"root": true,
|
|
|
|
"parser": "babel-eslint",
|
2019-02-21 08:55:16 -05:00
|
|
|
"extends": [
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo/esnext",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2016-10-25 08:18:52 -04:00
|
|
|
"rules": {
|
2019-02-21 08:55:16 -05:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
2016-10-25 08:18:52 -04:00
|
|
|
}
|
|
|
|
],
|
2019-02-21 08:55:16 -05:00
|
|
|
"max-params": [
|
|
|
|
"warn",
|
|
|
|
5
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2019-02-26 08:13:59 -05:00
|
|
|
"new-cap": "off",
|
|
|
|
"no-mixed-operators": "off",
|
2019-02-21 08:55:16 -05:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"prefer-destructuring": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"object": true,
|
|
|
|
"array": false
|
2016-10-25 08:18:52 -04:00
|
|
|
}
|
|
|
|
],
|
2019-02-21 08:55:16 -05:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2019-02-26 08:13:59 -05:00
|
|
|
"unicorn/explicit-length-check": "off",
|
|
|
|
"unicorn/import-index": "off",
|
2019-06-03 07:26:52 -04:00
|
|
|
"unicorn/no-for-loop": "off",
|
2019-02-26 08:13:59 -05:00
|
|
|
"unicorn/no-unused-properties": "error",
|
2019-03-30 11:36:54 -04:00
|
|
|
"unicorn/prefer-includes": "off",
|
2019-02-26 08:13:59 -05:00
|
|
|
"unicorn/prefer-node-append": "off",
|
2019-03-30 11:36:54 -04:00
|
|
|
"unicorn/prefer-node-remove": "off",
|
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prefer-text-content": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2016-10-25 08:18:52 -04:00
|
|
|
}
|
2015-08-18 22:22:46 -04:00
|
|
|
}
|