FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

lib: do not disable linter for entire files by aduh95 · Pull Request #48299 · nodejs/node · GitHub

/ node Public

lib: do not disable linter for entire files - #48299

Merged
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:eslint-disable-lines
Jun 2, 2023
Merged

lib: do not disable linter for entire files#48299
aduh95 merged 1 commit into
nodejs:mainfrom
aduh95:eslint-disable-lines

Conversation

aduh95 commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

Disabling linter for single lines is less error prone, disabling on the entire file can swallow errors that are easier to miss during code reviews, when one would assume the rule is enabled.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http2
  • @nodejs/net

nodejs-github-bot added http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run. web streams labels Jun 2, 2023
debadree25 added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 2, 2023

Copy link
Copy Markdown
Contributor

this probably doesnt need ci?

aduh95 commented Jun 2, 2023

Copy link
Copy Markdown
Contributor Author

this probably doesnt need ci?

Do not land any pull requests without the necessary passing CI runs.
A passing (green) GitHub Actions CI result is required. A passing (green or
yellow) [Jenkins CI](https://ci.nodejs.org/) is also required if the pull
request contains changes that will affect the `node` binary. This is because
GitHub Actions CI does not cover all the environments supported by Node.js.
<details>
<summary>Changes that affect the `node` binary</summary>
Changes in the following folders (except comment-only changes) are guaranteed to
affect the `node` binary:

That's correct, those are comment-only changes, GitHub CI is sufficient according to our policy.

aduh95 added fast-track PRs that do not need to wait for 48 hours to land. and removed needs-ci PRs that need a full CI run. labels Jun 2, 2023

github-actions Bot commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @aduh95. Please 👍 to approve.

Disabling linter for single lines is less error prone.

PR-URL: nodejs#48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
aduh95 force-pushed the eslint-disable-lines branch from 975d9ce to de4fb11 Compare June 2, 2023 15:43

aduh95 commented Jun 2, 2023

Copy link
Copy Markdown
Contributor Author

Landed in de4fb11

aduh95 merged commit de4fb11 into nodejs:main Jun 2, 2023
aduh95 deleted the eslint-disable-lines branch June 2, 2023 15:44
targos pushed a commit that referenced this pull request Jun 4, 2023
Disabling linter for single lines is less error prone.

PR-URL: #48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
targos mentioned this pull request Jun 4, 2023
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
Disabling linter for single lines is less error prone.

PR-URL: #48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
Disabling linter for single lines is less error prone.

PR-URL: nodejs#48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
Disabling linter for single lines is less error prone.

PR-URL: nodejs#48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
Disabling linter for single lines is less error prone.

PR-URL: nodejs#48299
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. http2 Issues or PRs related to the http2 subsystem. web streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL