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:
Luigi Pinca authored and Shelley Vohr committed 2020-05-16 12:52:06 -07:00
1 parent e53de96a89
commit 91193447fb
42 files changed
+161 -217

No files matched your search

@@ -38,9 +38,8 @@ assert.throws(() => {
name: 'Error'
})(e);
return true;
} else {
return true;
}
return true;
});
assert.throws(() => {