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-03 07:21:46 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2022-02-01 07:54:42 +0300
commit362f5edf8cfecfbbea6b0e80adbed390ef6f4df4 (patch)
tree2ba12febc06a83784b153fb0b6a78f81235d0c65 /.eslintrc.js
parent3ecc964a2918923694ed1181f9adcb82c556af54 (diff)
tools,benchmark,lib,test: enable no-case-declarations lint rule
PR-URL: https://github.com/nodejs/node/pull/41385 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index e8ca8b10783..0cc77278ccc 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -175,6 +175,7 @@ module.exports = {
}],
'new-parens': 'error',
'no-async-promise-executor': 'error',
+ 'no-case-declarations': 'error',
'no-class-assign': 'error',
'no-confusing-arrow': 'error',
'no-const-assign': 'error',