Constnium/.eslintrc.json
2022-06-23 02:58:11 +02:00

35 lines
865 B
JSON

{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"semi": ["warn", "always"],
"semi-spacing": "warn",
"keyword-spacing": ["warn", {
"before": true,
"after": true
}],
"no-multi-spaces": ["warn", {
"ignoreEOLComments": true,
"exceptions": {
"VariableDeclarator": true
}
}],
"key-spacing": "warn",
"space-before-blocks": "warn",
"space-before-function-paren": ["warn", "never"],
"space-infix-ops": "warn",
"brace-style": "warn",
"comma-spacing": "warn",
"indent": "warn",
"arrow-spacing": "warn"
}
}