2017-12-16 12:44:17 +01:00
|
|
|
{
|
2019-02-21 14:55:16 +01:00
|
|
|
"root": true,
|
2017-12-16 12:44:17 +01:00
|
|
|
"parserOptions": {
|
2019-07-16 12:27:26 +02:00
|
|
|
"ecmaVersion": 5,
|
2017-12-16 12:44:17 +01:00
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2019-02-21 14:55:16 +01:00
|
|
|
"extends": [
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2017-12-16 12:44:17 +01:00
|
|
|
"rules": {
|
2021-07-21 14:57:47 +02:00
|
|
|
"arrow-body-style": "off",
|
2019-02-21 14:55:16 +01:00
|
|
|
"capitalized-comments": "off",
|
2021-07-21 14:57:47 +02:00
|
|
|
"comma-dangle": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2019-02-21 14:55:16 +01:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2021-10-08 11:47:55 +02:00
|
|
|
"no-negated-condition": "off",
|
2019-02-26 14:13:59 +01:00
|
|
|
"no-new": "off",
|
2021-05-04 14:57:55 +02:00
|
|
|
"no-var": "off",
|
2019-02-21 14:55:16 +01:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2021-05-04 14:57:55 +02:00
|
|
|
"object-shorthand": "off",
|
2021-07-21 14:57:47 +02:00
|
|
|
"operator-linebreak": [
|
|
|
|
"error",
|
|
|
|
"after"
|
|
|
|
],
|
2021-05-04 14:57:55 +02:00
|
|
|
"prefer-arrow-callback": "off",
|
|
|
|
"prefer-destructuring": "off",
|
2019-02-21 14:55:16 +01:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"strict": "error",
|
2021-01-26 14:53:26 +01:00
|
|
|
"unicorn/no-array-for-each": "off",
|
2021-07-21 14:57:47 +02:00
|
|
|
"unicorn/no-array-method-this-argument": "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",
|
2021-07-21 14:57:47 +02:00
|
|
|
"unicorn/numeric-separators-style": "off",
|
|
|
|
"unicorn/prefer-array-flat": "off",
|
2020-12-29 11:52:32 +01:00
|
|
|
"unicorn/prefer-dom-node-dataset": "off",
|
2021-05-04 14:27:03 +02:00
|
|
|
"unicorn/prefer-module": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2017-12-16 12:44:17 +01:00
|
|
|
}
|
|
|
|
}
|