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": {
|
2019-02-21 14:55:16 +01:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"MemberExpression": "off",
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"error",
|
|
|
|
"always-multiline"
|
|
|
|
],
|
2019-02-26 14:13:59 +01:00
|
|
|
"no-new": "off",
|
2019-02-21 14:55:16 +01:00
|
|
|
"object-curly-spacing": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"strict": "error",
|
2019-09-24 11:34:57 +02:00
|
|
|
"unicorn/consistent-function-scoping": "off",
|
2019-06-03 13:26:52 +02:00
|
|
|
"unicorn/no-for-loop": "off",
|
2019-09-24 11:34:57 +02:00
|
|
|
"unicorn/prefer-dataset": "off",
|
2019-03-30 16:36:54 +01:00
|
|
|
"unicorn/prefer-includes": "off",
|
|
|
|
"unicorn/prefer-node-append": "off",
|
|
|
|
"unicorn/prefer-query-selector": "off",
|
|
|
|
"unicorn/prevent-abbreviations": "off"
|
2017-12-16 12:44:17 +01:00
|
|
|
}
|
|
|
|
}
|