Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2022-01-20 17:48:03 +0300
committerRich Trott <rtrott@gmail.com>2022-01-23 06:38:19 +0300
commit68bb83f11bcd57827dcff4f65c31336466eec72b (patch)
treeb8800f7dbd36bf566a10ab51e839359ef44e8ecd /.eslintrc.js
parentd77754bfc7112ae68c818083ae0a75af9020b6aa (diff)
tools: enable no-cond-assign-ESLint rule
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 <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 2ba2f71b45b..65b7f170280 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',