diff --git a/.eslintrc.json b/.eslintrc.json index 3bfdee6eb..9545fe142 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -40,6 +40,9 @@ } ], "quotes": "off", + + "no-constant-binary-expression": "error", + "@typescript-eslint/indent": [ "error", 2, diff --git a/client/.eslintrc.json b/client/.eslintrc.json index e4c8d901b..e292617dd 100644 --- a/client/.eslintrc.json +++ b/client/.eslintrc.json @@ -159,7 +159,8 @@ "quote-props": [ "error", "consistent-as-needed" - ] + ], + "no-constant-binary-expression": "error" } }, {