From cf0b612907b009295b8cd0fe6cb56505c801f19e Mon Sep 17 00:00:00 2001 From: Davyd NRB <4661784+retyui@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:29:46 +0200 Subject: [PATCH] chore: Add `no-constant-binary-expression` rule (#269) https://eslint.org/docs/latest/rules/no-constant-binary-expression --- node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/node.js b/node.js index c2b251f..2cb5d67 100644 --- a/node.js +++ b/node.js @@ -39,6 +39,7 @@ module.exports = { 'import/order': ERROR, 'no-restricted-globals': [ERROR].concat(restrictedGlobals), 'no-restricted-syntax': [ERROR, 'WithStatement'], + 'no-constant-binary-expression': ERROR, 'prettier/prettier': ERROR, 'promise/prefer-await-to-then': WARNING, 'import/no-extraneous-dependencies': [