Skip to content

fix(ci): remove stale paths from biome check step in lint.yml#3096

Open
la14-1 wants to merge 1 commit intomainfrom
qa/code-quality
Open

fix(ci): remove stale paths from biome check step in lint.yml#3096
la14-1 wants to merge 1 commit intomainfrom
qa/code-quality

Conversation

@la14-1
Copy link
Copy Markdown
Member

@la14-1 la14-1 commented Mar 29, 2026

Summary

  • biome.json restricts linting via "includes": ["packages/**/*.ts"] — it only processes files under packages/
  • The lint.yml biome step was passing .claude/scripts/ and .claude/skills/setup-spa/ as extra paths, but biome silently ignored both (0 files processed from those paths)
  • This made the CI step misleading: it appeared to check more code than it actually did

Fix: Remove the two stale paths so the CI command matches what biome actually lints.

Root cause

The .claude/scripts/ and .claude/skills/setup-spa/ TypeScript files use try/catch (banned in packages/ by the no-try-catch.grit plugin) — they were intentionally excluded from biome's scope. The lint.yml step was not updated to reflect this.

Test plan

  • bunx @biomejs/biome check packages/cli/src/ packages/shared/src/ → 177 files, 0 errors
  • bun test in packages/cli → 1951 pass, 0 fail
  • No functional code changed

-- qa/code-quality

biome.json restricts linting to packages/**/*.ts via its includes filter,
so passing .claude/scripts/ and .claude/skills/setup-spa/ to the biome
check command was a no-op — biome reported 0 files processed for those
paths and silently skipped them.

Remove the stale paths so the CI step accurately reflects what biome
actually checks.
@la14-1 la14-1 changed the title fix: resolve TypeScript type errors in delete.ts and run.ts fix(ci): remove stale paths from biome check step in lint.yml Mar 29, 2026
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