Skip to content

chore: migrate from eslint/prettier to biome#48

Merged
mcarvin8 merged 2 commits into
mainfrom
chore/migrate-to-biome
Jun 30, 2026
Merged

chore: migrate from eslint/prettier to biome#48
mcarvin8 merged 2 commits into
mainfrom
chore/migrate-to-biome

Conversation

@mcarvin8

Copy link
Copy Markdown
Owner

Summary

  • Replace eslint, @eslint/js, eslint-config-prettier, globals, and prettier with @biomejs/biome@2.5.1
  • Delete eslint.config.mjs, .prettierrc, .prettierignore; add biome.json (migrated via biome migrate eslint/prettier)
  • Update package.json scripts (lint, format) and lint-staged to use biome
  • Apply biome formatting across all source, test, and config files
  • Update CONTRIBUTING.md hook table to reflect biome

Notes

  • useErrorCause rule disabled — requires Error({ cause }) which needs ES2022; tsconfig targets ES2015
  • Quote style corrected to double and semicolons to always to match existing code style (biome migration defaulted to its own preferences for the empty .prettierrc)

Test plan

  • biome check . passes with no errors
  • npm test passes with 100% coverage (276 tests)
  • Pre-commit hook (lint-staged → biome) fires cleanly on commit

🤖 Generated with Claude Code

mcarvin8 and others added 2 commits June 30, 2026 09:19
Replace eslint, eslint-config-prettier, globals, and prettier with
@biomejs/biome 2.5.1. Config migrated via biome migrate commands with
corrections for quote style and semicolons. Applies biome formatting
across all source, test, and config files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The rule requires Error({ cause }) which needs ES2022. tsconfig targets
ES2015, so disable the rule rather than change code that won't compile.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mcarvin8 mcarvin8 merged commit 248f1a6 into main Jun 30, 2026
5 checks passed
@mcarvin8 mcarvin8 deleted the chore/migrate-to-biome branch June 30, 2026 13:22
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