From 3b51b4fd727d4db3826c32ce34c1353772a16743 Mon Sep 17 00:00:00 2001 From: pedr Date: Wed, 15 Nov 2023 17:18:31 -0300 Subject: [PATCH] Tools: Resolves #9265: Add `no-constant-binary-expression` to eslint rules (#9319) --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0eedf8e36..4b8fdca86 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -157,6 +157,8 @@ module.exports = { // In user-facing text, it should be "notebook". 'id-denylist': ['error', 'err', 'notebook', 'notebooks'], 'prefer-arrow-callback': ['error'], + + 'no-constant-binary-expression': ['error'], }, 'plugins': [ 'react',