2015-08-19 05:22:46 +03:00
|
|
|
{
|
2016-10-25 15:18:52 +03:00
|
|
|
"root": true,
|
2019-02-21 16:55:16 +03:00
|
|
|
"extends": [
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:unicorn/recommended",
|
2021-05-04 15:57:55 +03:00
|
|
|
"xo",
|
2019-02-21 16:55:16 +03:00
|
|
|
"xo/browser"
|
|
|
|
],
|
2016-10-25 15:18:52 +03:00
|
|
|
"rules": {
|
2019-02-21 16:55:16 +03:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
2016-10-25 15:18:52 +03:00
|
|
|
}
|
|
|
|
],
|
2019-02-21 16:55:16 +03:00
|
|
|
"max-params": [
|
|
|
|
"warn",
|
|
|
|
5
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2020-11-01 17:31:11 +03:00
|
|
|
"new-cap": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"properties": false
|
|
|
|
}
|
|
|
|
],
|
2019-10-25 12:25:30 +03:00
|
|
|
"no-console": "error",
|
2019-02-21 16:55:16 +03:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2019-09-24 12:34:57 +03:00
|
|
|
"unicorn/consistent-function-scoping": "off",
|
2019-02-26 16:13:59 +03:00
|
|
|
"unicorn/explicit-length-check": "off",
|
2020-12-29 13:52:32 +03:00
|
|
|
"unicorn/no-array-callback-reference": "off",
|
2021-01-26 16:53:26 +03:00
|
|
|
"unicorn/no-array-for-each": "off",
|
2019-06-03 14:26:52 +03:00
|
|
|
"unicorn/no-for-loop": "off",
|
2020-04-28 16:28:46 +03:00
|
|
|
"unicorn/no-null": "off",
|
2019-02-26 16:13:59 +03:00
|
|
|
"unicorn/no-unused-properties": "error",
|
2020-05-14 09:26:44 +03:00
|
|
|
"unicorn/no-useless-undefined": "off",
|
2020-12-29 13:52:32 +03:00
|
|
|
"unicorn/prefer-dom-node-append": "off",
|
|
|
|
"unicorn/prefer-dom-node-dataset": "off",
|
|
|
|
"unicorn/prefer-dom-node-remove": "off",
|
2021-05-04 15:27:03 +03:00
|
|
|
"unicorn/prefer-module": "off",
|
2019-03-30 18:36:54 +03:00
|
|
|
"unicorn/prefer-query-selector": "off",
|
2021-01-26 16:53:26 +03:00
|
|
|
"unicorn/prefer-spread": "off",
|
2019-03-30 18:36:54 +03:00
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2016-10-25 15:18:52 +03:00
|
|
|
}
|
2015-08-19 05:22:46 +03:00
|
|
|
}
|