GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — tools: enable no-else-return lint rule by lpinca · Pull Request #32667 · nodejs/node Conversation
Member
Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
lpinca
force-pushed
the
enable/no-else-return
branch
4 times, most recently
from
69890a3 to
73b15aa
Compare
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
lpinca
force-pushed
the
enable/no-else-return
branch
2 times, most recently
from
dd909ba to
e404e2c
Compare
Member
Author
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
The only reason for me is to prevent PRs with only cosmetic changes (unless we want them). In my opinion it's better for contributors to have a linter error than a PR rejected with a reason like "Cosmetic only changes". Also cc @Trott who commented saying that he preferred to close this but then removed the comment. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It reduces the number of code lines and the indentation which often improves the readability of the code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I have no opinion on this. I'm fine with it landing, and fine with closing it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
e404e2c to
9b40e55
Compare
e590a4f to
17c648a
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
17c648a to
3c3c4e5
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3c3c4e5 to
af70a1c
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Refs: #32644 Refs: #32662 PR-URL: #32667 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
|
Landed in b533fb3. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Refs: #32644 Refs: #32662 PR-URL: #32667 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
|
@lpinca would you mind backporting this to v12.x? there are a solid handful of conflicts. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
yes, I will do it later today. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Refs: nodejs#32644 Refs: nodejs#32662 PR-URL: nodejs#32667 Backport-PR-URL: nodejs#34275 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Refs: #32644 Refs: #32662 PR-URL: #32667 Backport-PR-URL: #34275 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Refs: #32644 Refs: #32662 PR-URL: #32667 Backport-PR-URL: #34275 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.