2017-12-16 12:44:17 +01:00
|
|
|
{
|
2020-06-12 20:43:39 +02:00
|
|
|
"root": true,
|
2017-12-16 12:44:17 +01:00
|
|
|
"env": {
|
|
|
|
"es6": false,
|
|
|
|
"jquery": true
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 5,
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
2020-06-12 20:43:39 +02:00
|
|
|
"extends": [
|
|
|
|
"plugin:unicorn/recommended",
|
|
|
|
"xo",
|
|
|
|
"xo/browser"
|
|
|
|
],
|
2017-12-16 12:44:17 +01:00
|
|
|
"rules": {
|
2021-07-21 14:52:59 +02:00
|
|
|
"arrow-body-style": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"capitalized-comments": "off",
|
2021-07-21 14:52:59 +02:00
|
|
|
"comma-dangle": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2020-06-12 20:43:39 +02:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
2021-05-21 07:14:43 +02:00
|
|
|
"no-var": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
2021-05-21 07:14:43 +02:00
|
|
|
"object-shorthand": "off",
|
2021-07-21 14:52:59 +02:00
|
|
|
"operator-linebreak": [
|
|
|
|
"error",
|
|
|
|
"after"
|
|
|
|
],
|
2021-05-21 07:14:43 +02:00
|
|
|
"prefer-arrow-callback": "off",
|
|
|
|
"prefer-destructuring": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"strict": "error",
|
2021-07-21 14:52:59 +02:00
|
|
|
"unicorn/no-array-method-this-argument": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/no-for-loop": "off",
|
|
|
|
"unicorn/no-null": "off",
|
2021-07-21 14:52:59 +02:00
|
|
|
"unicorn/numeric-separators-style": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/prefer-array-find": "off",
|
2021-07-21 14:52:59 +02:00
|
|
|
"unicorn/prefer-array-flat": "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",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/prefer-includes": "off",
|
2021-05-21 07:14:43 +02:00
|
|
|
"unicorn/prefer-module": "off",
|
2021-07-21 14:52:59 +02:00
|
|
|
"unicorn/prefer-number-properties": "off",
|
|
|
|
"unicorn/prefer-prototype-methods": "off",
|
2020-06-12 20:43:39 +02:00
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2017-12-16 12:44:17 +01:00
|
|
|
}
|
|
|
|
}
|