2015-08-19 04:22:46 +02:00
|
|
|
{
|
2016-10-25 14:18:52 +02:00
|
|
|
"root": true,
|
2019-02-21 14:55:16 +01:00
|
|
|
"extends": [
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo/esnext",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2016-10-25 14:18:52 +02:00
|
|
|
"rules": {
|
2019-02-21 14:55:16 +01:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
2016-10-25 14:18:52 +02:00
|
|
|
}
|
|
|
|
],
|
2019-02-21 14:55:16 +01:00
|
|
|
"max-params": [
|
|
|
|
"warn",
|
|
|
|
5
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2019-02-26 14:13:59 +01:00
|
|
|
"new-cap": "off",
|
2019-10-25 11:25:30 +02:00
|
|
|
"no-console": "error",
|
2019-02-21 14:55:16 +01:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2020-02-17 20:24:34 +01:00
|
|
|
"prefer-named-capture-group": "off",
|
2019-02-21 14:55:16 +01:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2019-09-24 11:34:57 +02:00
|
|
|
"unicorn/consistent-function-scoping": "off",
|
2019-02-26 14:13:59 +01:00
|
|
|
"unicorn/explicit-length-check": "off",
|
|
|
|
"unicorn/import-index": "off",
|
2020-04-28 15:28:46 +02:00
|
|
|
"unicorn/no-fn-reference-in-iterator": "off",
|
2019-06-03 13:26:52 +02:00
|
|
|
"unicorn/no-for-loop": "off",
|
2020-04-28 15:28:46 +02:00
|
|
|
"unicorn/no-null": "off",
|
2019-02-26 14:13:59 +01:00
|
|
|
"unicorn/no-unused-properties": "error",
|
2020-05-14 08:26:44 +02:00
|
|
|
"unicorn/no-useless-undefined": "off",
|
2020-08-08 08:02:20 +02:00
|
|
|
"unicorn/prefer-array-find": "off",
|
2019-09-24 11:34:57 +02:00
|
|
|
"unicorn/prefer-dataset": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prefer-includes": "off",
|
2019-02-26 14:13:59 +01:00
|
|
|
"unicorn/prefer-node-append": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prefer-node-remove": "off",
|
2020-03-26 16:49:45 +01:00
|
|
|
"unicorn/prefer-number-properties": "off",
|
2020-05-14 08:26:44 +02:00
|
|
|
"unicorn/prefer-optional-catch-binding": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prefer-query-selector": "off",
|
2020-03-26 16:49:45 +01:00
|
|
|
"unicorn/prefer-set-has": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2016-10-25 14:18:52 +02:00
|
|
|
}
|
2015-08-19 04:22:46 +02:00
|
|
|
}
|