2015-08-18 22:22:46 -04:00
|
|
|
{
|
2016-10-25 08:18:52 -04:00
|
|
|
"root": true,
|
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",
|
2019-10-25 05:25:30 -04:00
|
|
|
"no-console": "error",
|
2019-02-21 08:55:16 -05:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-17 14:24:34 -05:00
|
|
|
"prefer-named-capture-group": "off",
|
2019-02-21 08:55:16 -05:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2019-09-24 05:34:57 -04:00
|
|
|
"unicorn/consistent-function-scoping": "off",
|
2019-02-26 08:13:59 -05:00
|
|
|
"unicorn/explicit-length-check": "off",
|
|
|
|
"unicorn/import-index": "off",
|
2020-04-28 09:28:46 -04:00
|
|
|
"unicorn/no-fn-reference-in-iterator": "off",
|
2019-06-03 07:26:52 -04:00
|
|
|
"unicorn/no-for-loop": "off",
|
2020-04-28 09:28:46 -04:00
|
|
|
"unicorn/no-null": "off",
|
2019-02-26 08:13:59 -05:00
|
|
|
"unicorn/no-unused-properties": "error",
|
2020-05-14 02:26:44 -04:00
|
|
|
"unicorn/no-useless-undefined": "off",
|
2020-08-08 02:02:20 -04:00
|
|
|
"unicorn/prefer-array-find": "off",
|
2019-09-24 05:34:57 -04:00
|
|
|
"unicorn/prefer-dataset": "off",
|
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",
|
2020-03-26 11:49:45 -04:00
|
|
|
"unicorn/prefer-number-properties": "off",
|
2020-05-14 02:26:44 -04:00
|
|
|
"unicorn/prefer-optional-catch-binding": "off",
|
2019-03-30 11:36:54 -04:00
|
|
|
"unicorn/prefer-query-selector": "off",
|
2020-03-26 11:49:45 -04:00
|
|
|
"unicorn/prefer-set-has": "off",
|
2019-03-30 11:36:54 -04:00
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2016-10-25 08:18:52 -04:00
|
|
|
}
|
2015-08-18 22:22:46 -04:00
|
|
|
}
|