Skip to content

chore: fix Biome lint issues#264

Open
izumin5210 wants to merge 3 commits intomainfrom
codex/fix-biome-lint-issues
Open

chore: fix Biome lint issues#264
izumin5210 wants to merge 3 commits intomainfrom
codex/fix-biome-lint-issues

Conversation

@izumin5210
Copy link
Copy Markdown
Owner

Why

  • Biome reported lint and formatting issues across test fixtures, shared utilities, and the example AI SDK test setup.
  • The current biome.jsonc schema version was also out of sync with the installed CLI, and Markdown files under .claude were being included in checks even though Biome does not support them in this configuration.

Summary

  • Replaced {} argument types that were effectively no-arg inputs with NoArgs, and tightened other empty-object usages to explicit object types where appropriate.
  • Removed unused imports and parameters in testdata fixtures, replaced explicit any usage in the AI SDK scenario test with an inferred stream chunk type, and applied the optional-chain cleanups flagged in shared utilities.
  • Updated biome.jsonc to the current schema version and excluded Markdown files from Biome checks so the repository check command completes cleanly.

Impact

  • pnpm exec biome lint . --max-diagnostics=200
  • pnpm exec biome check . --max-diagnostics=200

This PR only changes lint-driven code and configuration cleanup. It does not intentionally change runtime behavior.

@izumin5210 izumin5210 changed the title [codex] Fix Biome lint issues chore: fix Biome lint issues Apr 12, 2026
@izumin5210 izumin5210 marked this pull request as ready for review April 12, 2026 05:25
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