Skip to content

chore(lint): remove dead biome suppression in tar-xz node-api spec#119

Merged
oorabona merged 1 commit into
masterfrom
chore/biome-suppressions-cleanup
Apr 30, 2026
Merged

chore(lint): remove dead biome suppression in tar-xz node-api spec#119
oorabona merged 1 commit into
masterfrom
chore/biome-suppressions-cleanup

Conversation

@oorabona

Copy link
Copy Markdown
Owner

Summary

packages/tar-xz/test/node-api.spec.ts:249 had // biome-ignore lint/suspicious/noEmptyBlockStatements: intentional drain above a for await loop whose body contains /* drain */ (a comment, not an empty block). The suppression never fired because biome treats the commented body as non-empty — the linter flagged it as suppressions/unused.

Drop the line, no behavior change.

Diff

1 file, -1 line.

Gates

  • pnpm --filter tar-xz build: EXIT 0
  • pnpm exec biome check .: EXIT 0 (1 warning remaining: pre-existing CC=17 on parseMemlimitSize, tracked separately)
  • pnpm test: 707 pass / 0 fail / 3 skipped

Test plan

  • CI green
  • No new biome warnings introduced

The for-await drain loop body has a '/* drain */' comment that
satisfies biome's noEmptyBlockStatements check, so the suppression
above never fired. Drop the dead biome-ignore line.
@oorabona oorabona merged commit 49c7f14 into master Apr 30, 2026
6 of 7 checks passed
@oorabona oorabona deleted the chore/biome-suppressions-cleanup branch April 30, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant