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": {
|
|
|
|
"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",
|
|
|
|
"unicorn/prefer-query-selector": "off"
|
2017-12-16 12:44:17 +01:00
|
|
|
}
|
|
|
|
}
|