20 lines
671 B
JSON
20 lines
671 B
JSON
|
{
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 8
|
||
|
},
|
||
|
"rules": {
|
||
|
"arrow-parens": ["error", "always"],
|
||
|
"indent": ["error", "tab"],
|
||
|
"eqeqeq": ["error", "always", {"null": "ignore"}],
|
||
|
"keyword-spacing": ["error", {"before": true, "after": true}],
|
||
|
"no-trailing-spaces": ["error", {"skipBlankLines": false, "ignoreComments": false}],
|
||
|
"no-unneeded-ternary": ["error", {"defaultAssignment": true}],
|
||
|
"one-var": ["error", "never"],
|
||
|
"quotes": ["error", "double"],
|
||
|
"semi": "error",
|
||
|
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
|
||
|
"space-before-blocks": ["error", "always"],
|
||
|
"space-infix-ops": "error"
|
||
|
}
|
||
|
}
|