aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.json8
-rw-r--r--js/tests/unit/.eslintrc.json5
-rw-r--r--site/.eslintrc.json1
3 files changed, 12 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 384bfcbbc..e0fa201bc 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -26,6 +26,8 @@
"error",
"always-multiline"
],
+ "new-cap": "off",
+ "no-mixed-operators": "off",
"object-curly-spacing": [
"error",
"always"
@@ -41,7 +43,11 @@
"error",
"never"
],
+ "unicorn/explicit-length-check": "off",
"unicorn/filename-case": "off",
- "unicorn/no-unused-properties": "error"
+ "unicorn/import-index": "off",
+ "unicorn/no-unused-properties": "error",
+ "unicorn/prefer-node-append": "off",
+ "unicorn/prefer-query-selector": "off"
}
}
diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json
index cafe9c04e..c8b3c9170 100644
--- a/js/tests/unit/.eslintrc.json
+++ b/js/tests/unit/.eslintrc.json
@@ -42,6 +42,7 @@
"error",
"always-multiline"
],
+ "new-cap": "off",
"object-curly-spacing": [
"error",
"always"
@@ -52,6 +53,8 @@
],
"strict": "error",
"unicorn/filename-case": "off",
- "unicorn/no-unused-properties": "error"
+ "unicorn/no-unused-properties": "error",
+ "unicorn/prefer-node-append": "off",
+ "unicorn/prefer-query-selector": "off"
}
}
diff --git a/site/.eslintrc.json b/site/.eslintrc.json
index 8c2cffef7..0cf258550 100644
--- a/site/.eslintrc.json
+++ b/site/.eslintrc.json
@@ -22,6 +22,7 @@
"error",
"always-multiline"
],
+ "no-new": "off",
"object-curly-spacing": [
"error",
"always"