From 09ac5caef147c982914a72c0b1a981f77acc0e50 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 26 Apr 2022 00:03:56 -0400 Subject: [PATCH] Adds no-constant-binary-expression eslint rule --- .eslintrc.base.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.base.json b/.eslintrc.base.json index 9dccd5f..10da0ab 100644 --- a/.eslintrc.base.json +++ b/.eslintrc.base.json @@ -32,6 +32,7 @@ "new-parens": "error", "no-console": "off", "no-constant-condition": ["warn", { "checkLoops": false }], + "no-constant-binary-expression": "error", "no-caller": "error", "no-debugger": "off", "no-dupe-class-members": "off",