| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
|
It seems there's a mix of eslint-disable-next-line and eslint-disable-line. Would we want to standardize on one and roll with that? |
Sorry, something went wrong.
|
Is there a reason not to permit both? I usually use whichever one is more readable, depending on the line length of the line i'm trying to disable the warning for. |
Sorry, something went wrong.
I wouldn't want to standardize on one, but if we did, it would have to be eslint-disable-next-line because eslint-disable-line will sometimes result in a max-len violation. |
Sorry, something went wrong.
|
(max-len should be disabled anyways; line length limits are a terrible way to manage complexity; but that’s a discussion not worth having here :-) ) |
Sorry, something went wrong.
I agree and have advocated for this in the past but met significant resistance. It might be time to bring it up again. |
Sorry, something went wrong.
I also agree and would be massively supportive. |
Sorry, something went wrong.
no worries then. I figured it might be more readable (it is for my brain, since it requires less processing to match) but if we don't want to that's totally reasonable. |
Sorry, something went wrong.
Sorry, something went wrong.
+100. This is one of the biggest pains in getting code working, and it actually makes debugging harder. The current length is so short that lots of code is less readable because things like function calls and if conditionals need to be broken onto several lines. |
Sorry, something went wrong.
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/41463 ✔ Done loading data for nodejs/node/pull/41463 ----------------------------------- PR info ------------------------------------ Title tools: enable ESLint recommended rule set (#41463) Author Rich Trott (@Trott) Branch Trott:eslint-recommended-3 -> nodejs:master Labels util, tools, esm, needs-ci, commit-queue-rebase Commits 6 - tools: enable ESLint no-loss-of-precision rule - tools: enable ESLint no-sparse-arrays rule - tools: enable ESLint require-yield rule - tools,lib.test: enable ESLint no-regex-spaces rule - tools: enable ESLint no-constant-condition rule - tools: enable ESLint recommended configuration Committers 1 - Rich Trott PR-URL: https://github.com/nodejs/node/pull/41463 Reviewed-By: Tobias Nießen Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Geoffrey Booth ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/41463 Reviewed-By: Tobias Nießen Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Geoffrey Booth -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 10 Jan 2022 19:59:29 GMT ✔ Approvals: 5 ✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/41463#pullrequestreview-848282703 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/41463#pullrequestreview-848292420 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/41463#pullrequestreview-848298916 ✔ - Colin Ihrig (@cjihrig) (TSC): https://github.com/nodejs/node/pull/41463#pullrequestreview-848305961 ✔ - Geoffrey Booth (@GeoffreyBooth): https://github.com/nodejs/node/pull/41463#pullrequestreview-852251982 ✖ GitHub CI is still running ℹ Last Full PR CI on 2022-01-13T22:20:05Z: https://ci.nodejs.org/job/node-test-pull-request/41860/ - Querying data for job/node-test-pull-request/41860/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/1695349357 |
Sorry, something went wrong.
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
PR-URL: #41463 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
| Back | FazBrowse Home | New Git URL |
No description provided.