aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/.eslintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/.eslintrc b/js/.eslintrc
index 813cd29a3..619df7cb3 100644
--- a/js/.eslintrc
+++ b/js/.eslintrc
@@ -30,7 +30,6 @@
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
- "no-magic-numbers": [2, {"ignore": [-1, 0, 1]}],
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
@@ -53,6 +52,7 @@
"guard-for-in": 2,
"no-alert": 2,
"no-caller": 2,
+ "no-case-declarations": 2,
"no-div-regex": 2,
"no-else-return": 2,
"no-empty-label": 2,
@@ -69,6 +69,7 @@
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
+ "no-magic-numbers": [2, {"ignore": [-1, 0, 1]}],
"no-multi-spaces": 0,
"no-multi-str": 2,
"no-native-reassign": 2,