« get me outta code hell

eslint allow constant conditions - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-19 12:38:55 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-19 12:39:28 -0400
commit943cb8d05f5ef8572edfa081fb9912107769241a (patch)
tree3e831b2f6a15305f70be1cbd5d099a124cd0ab95
parentec5f34cc804cdb47bb259a89c261ee6c44ea72e9 (diff)
eslint allow constant conditions
-rw-r--r--.eslintrc.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 5568290a..a125d582 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -16,6 +16,7 @@
       "argsIgnorePattern": "^_",
       "destructuredArrayIgnorePattern": "^"
     }],
-    "no-cond-assign": ["off"]
+    "no-cond-assign": ["off"],
+    "no-constant-condition": ["off"]
   }
 }