Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: enable linter on some fixtures file #57674

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Mar 29, 2025

Those files used to be linted, until b6738c1 moved them to the fixtures/ dir, which is excluded from lint rules (for good reasons, we have there files that are purposefully testing e.g. edge-case syntax which would be forbidden in the other areas of the codebase). However, with the recent addition of globalIgnores (pending #57673), it's now possible for us to define more precise rules regarding which files are ignored.

(I've chosen to enable it only on subfolder where the files are already passing the linter, I'll open follow-up PRs to enable it in more areas, but the diff is too large for a single PR, see https://github.com/nodejs/node/compare/main...aduh95:node:lint-snapshot-files?expand=1)

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/sqlite

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. labels Mar 29, 2025
Copy link

codecov bot commented Mar 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.23%. Comparing base (5812a61) to head (a3caa87).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #57674      +/-   ##
==========================================
- Coverage   90.23%   90.23%   -0.01%     
==========================================
  Files         630      630              
  Lines      185055   185055              
  Branches    36220    36218       -2     
==========================================
- Hits       166986   166985       -1     
- Misses      11039    11040       +1     
  Partials     7030     7030              

see 27 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aduh95 aduh95 force-pushed the lint-snapshot-files-passing branch from e8baca1 to a3caa87 Compare March 31, 2025 18:36
@aduh95 aduh95 removed the needs-ci PRs that need a full CI run. label Mar 31, 2025
@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 31, 2025
@aduh95 aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 1, 2025
@nodejs-github-bot nodejs-github-bot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Apr 1, 2025
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/57674
✔  Done loading data for nodejs/node/pull/57674
----------------------------------- PR info ------------------------------------
Title      tools: enable linter on some fixtures file (#57674)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     aduh95:lint-snapshot-files-passing -> nodejs:main
Labels     tools, author ready
Commits    1
 - tools: enable linter on some fixtures file
Committers 1
 - Antoine du Hamel <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/57674
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/57674
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Sat, 29 Mar 2025 13:52:29 GMT
   ✔  Approvals: 2
   ✔  - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/57674#pullrequestreview-2730474037
   ✔  - Moshe Atlow (@MoLow): https://github.com/nodejs/node/pull/57674#pullrequestreview-2731759969
   ✔  Last GitHub CI successful
   ✘  No Jenkins CI runs detected
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/14190984322

@aduh95 aduh95 merged commit 0d91070 into nodejs:main Apr 1, 2025
32 checks passed
@aduh95
Copy link
Contributor Author

aduh95 commented Apr 1, 2025

Landed in 0d91070

@aduh95 aduh95 deleted the lint-snapshot-files-passing branch April 1, 2025 08:36
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 pending requests for changes, and a CI started. commit-queue-failed An error occurred while landing this pull request using GitHub Actions. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants