49 lines
942 B
JSON
49 lines
942 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"sourceType": "script"
|
|
},
|
|
"env": {
|
|
"jquery": true
|
|
},
|
|
"extends": [
|
|
"plugin:unicorn/recommended",
|
|
"xo",
|
|
"xo/browser"
|
|
],
|
|
"rules": {
|
|
"capitalized-comments": "off",
|
|
"indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"MemberExpression": "off",
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"multiline-ternary": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"strict": "error",
|
|
"unicorn/no-array-for-each": "off",
|
|
"unicorn/no-for-loop": "off",
|
|
"unicorn/no-null": "off",
|
|
"unicorn/prefer-dataset": "off",
|
|
"unicorn/prefer-includes": "off",
|
|
"unicorn/prefer-node-append": "off",
|
|
"unicorn/prefer-query-selector": "off",
|
|
"unicorn/prefer-spread": "off",
|
|
"unicorn/prevent-abbreviations": "off"
|
|
}
|
|
}
|