2015-08-19 04:22:46 +02:00
|
|
|
{
|
2016-10-25 14:18:52 +02:00
|
|
|
"root": true,
|
2020-06-12 20:43:39 +02:00
|
|
|
"extends": [
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo/esnext",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2016-10-25 14:18:52 +02:00
|
|
|
"rules": {
|
2020-06-12 20:43:39 +02:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
2016-10-25 14:18:52 +02:00
|
|
|
}
|
|
|
|
],
|
2020-06-12 20:43:39 +02:00
|
|
|
"max-params": [
|
|
|
|
"warn",
|
|
|
|
5
|
2016-10-25 14:18:52 +02:00
|
|
|
],
|
2020-11-01 15:31:11 +01:00
|
|
|
"new-cap": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"properties": false
|
|
|
|
}
|
|
|
|
],
|
2020-06-12 20:43:39 +02:00
|
|
|
"no-console": "error",
|
2016-10-25 14:18:52 +02:00
|
|
|
"no-mixed-operators": "off",
|
|
|
|
"no-negated-condition": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"unicorn/consistent-function-scoping": "off",
|
|
|
|
"unicorn/explicit-length-check": "off",
|
2021-01-08 09:08:51 +01:00
|
|
|
"unicorn/no-array-callback-reference": "off",
|
2021-01-27 17:37:18 +01:00
|
|
|
"unicorn/no-array-for-each": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/no-for-loop": "off",
|
|
|
|
"unicorn/no-null": "off",
|
|
|
|
"unicorn/no-unused-properties": "error",
|
|
|
|
"unicorn/no-useless-undefined": "off",
|
|
|
|
"unicorn/prefer-array-find": "off",
|
2021-01-27 17:37:18 +01:00
|
|
|
"unicorn/prefer-dom-node-append": "off",
|
2021-01-08 09:08:51 +01:00
|
|
|
"unicorn/prefer-dom-node-dataset": "off",
|
2021-01-27 17:37:18 +01:00
|
|
|
"unicorn/prefer-dom-node-remove": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/prefer-includes": "off",
|
2020-10-27 07:08:57 +01:00
|
|
|
"unicorn/prefer-math-trunc": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/prefer-number-properties": "off",
|
|
|
|
"unicorn/prefer-optional-catch-binding": "off",
|
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prefer-reflect-apply": "off",
|
|
|
|
"unicorn/prefer-set-has": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2016-10-25 14:18:52 +02:00
|
|
|
}
|
2015-08-19 04:22:46 +02:00
|
|
|
}
|