From b17aa25f12cba387599a6f54394d83f58041ecfa 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 4b2e185e0cd9ac..0e4ffada39ad8c 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',