mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: enable no-else-return lint rule
Refs: https://github.com/nodejs/node/pull/32644 Refs: https://github.com/nodejs/node/pull/32662 PR-URL: https://github.com/nodejs/node/pull/32667 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
e53de96a89
commit
91193447fb
42 files changed
+161
-217
No files matched your search
+1
-2
@@ -38,9 +38,8 @@ assert.throws(() => {
|
||||
name: 'Error'
|
||||
})(e);
|
||||
return true;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
assert.throws(() => {
|
||||
|
||||
Reference in new issue
Block a user