From ae7df178fddccfc041e058f5728f34ca2a973e28 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 20 Jan 2022 06:48:03 -0800 Subject: [PATCH] tools: enable no-cond-assign-ESLint rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no-cond-assign is one of the few ESLint recommended rules that we have turned off. This change enables the rule. PR-URL: https://github.com/nodejs/node/pull/41614 Reviewed-By: Tobias Nießen Reviewed-By: Anna Henningsen --- .eslintrc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 7728c45485e7ac..462c6fa149d696 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -295,7 +295,6 @@ module.exports = { 'valid-typeof': ['error', { requireStringLiterals: true }], // ESLint recommended rules that we disable - 'no-cond-assign': 'off', 'no-empty': 'off', 'no-inner-declarations': 'off', 'no-prototype-builtins': 'off',