2017-12-16 13:44:17 +02:00
|
|
|
{
|
2019-02-21 15:55:16 +02:00
|
|
|
"root": true,
|
2017-12-16 13:44:17 +02:00
|
|
|
"parserOptions": {
|
2019-07-16 13:27:26 +03:00
|
|
|
"ecmaVersion": 5,
|
2017-12-16 13:44:17 +02:00
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2019-02-21 15:55:16 +02:00
|
|
|
"extends": [
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2017-12-16 13:44:17 +02:00
|
|
|
"rules": {
|
2019-02-21 15:55:16 +02:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2019-02-26 15:13:59 +02:00
|
|
|
"no-new": "off",
|
2019-02-21 15:55:16 +02:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"strict": "error",
|
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-09-24 12:34:57 +03:00
|
|
|
"unicorn/prefer-dataset": "off",
|
2019-03-30 17:36:54 +02:00
|
|
|
"unicorn/prefer-includes": "off",
|
|
|
|
"unicorn/prefer-node-append": "off",
|
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2017-12-16 13:44:17 +02:00
|
|
|
}
|
|
|
|
}
|