Skip to content

tools: allow unused variables named only with underscores - #67883

Open
aduh95 wants to merge 2 commits into
nodejs:mainfrom
aduh95:_
Open

aduh95 wants to merge 2 commits into
nodejs:mainfrom
aduh95:_

Conversation

@aduh95

@aduh95 aduh95 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

And enforces that underscore-only variables stayed unused. Most of the codebase already follow this convention anyway.

And enforces that underscore-only variables stayed unused.

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/path
  • @nodejs/performance
  • @nodejs/quic
  • @nodejs/test_runner

@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 Nov 30, 2026
@aduh95 aduh95 added author ready PRs with CI started, the required approvals, and no outstanding review comments. request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. labels Nov 30, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. Only starts once the PR has an approving review. label Nov 30, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.58%. Comparing base (1611823) to head (249d608).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/streams/operators.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #67883      +/-   ##
==========================================
- Coverage   90.58%   90.58%   -0.01%     
==========================================
  Files         802      802              
  Lines      286656   286645      -11     
  Branches    55369    55370       +1     
==========================================
- Hits       259668   259658      -10     
+ Misses      17089    17082       -7     
- Partials     9899     9905       +6     
Files with missing lines Coverage Δ
lib/diagnostics_channel.js 99.40% <100.00%> (-0.01%) ⬇️
lib/internal/test_runner/mock/mock_timers.js 98.77% <100.00%> (-0.01%) ⬇️
lib/internal/streams/operators.js 96.10% <0.00%> (-0.01%) ⬇️

... and 25 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants