22 lines
690 B
JSON
22 lines
690 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": "always", "named": "always", "asyncArrow": "always"}],
|
|
"space-before-blocks": ["error", "always"],
|
|
"space-infix-ops": "error"
|
|
}
|
|
}
|
|
|
|
// vim: ft=json
|