aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'lang/js/.eslintrc.json')
-rw-r--r--lang/js/.eslintrc.json19
1 files changed, 18 insertions, 1 deletions
diff --git a/lang/js/.eslintrc.json b/lang/js/.eslintrc.json
index ad82400b..dc3be2e4 100644
--- a/lang/js/.eslintrc.json
+++ b/lang/js/.eslintrc.json
@@ -27,6 +27,23 @@
"no-var": [
"warn"
],
- "max-len": 1
+ "max-len": 1,
+ "default-case": 2,
+ "no-invalid-this": 2,
+ "no-lone-blocks": 1,
+ "no-self-compare": 2,
+ "radix": 2,
+ "no-use-before-define": ["error", {
+ "functions": false,
+ "classes": false,
+ "variables": true
+ }],
+ "no-useless-constructor": 1,
+ "space-before-function-paren": ["error", "always"],
+ "keyword-spacing": 2,
+ "spaced-comment": 1,
+ "space-unary-ops": 2,
+ "object-curly-spacing": ["error", "always"],
+ "array-bracket-spacing": ["error", "never"]
}
} \ No newline at end of file