Skip to content

chore: replace ESLint + Prettier with Biome#854

Merged
ryanio merged 2 commits into
mainfrom
chore/consolidate-dep-updates
Apr 15, 2026
Merged

chore: replace ESLint + Prettier with Biome#854
ryanio merged 2 commits into
mainfrom
chore/consolidate-dep-updates

Conversation

@ryanio
Copy link
Copy Markdown
Collaborator

@ryanio ryanio commented Apr 15, 2026

Summary

  • Replace ESLint, Prettier, and 9 related plugins/configs with Biome for linting and formatting, matching the opensea-devtools setup
  • Remove eslint.config.mjs, .prettierrc, .prettierignore and add biome.json
  • Update lint-staged to run biome check --write instead of prettier
  • All 112 tests passing, type checking clean, biome lint/format clean

Removed dependencies

@eslint/js, eslint, eslint-config-prettier, eslint-plugin-import, eslint-plugin-prettier, prettier, prettier-package-json, prettier-plugin-solidity, typescript-eslint

Added dependencies

@biomejs/biome (2.4.10)

Updated scripts

  • lintconcurrently "npm run check-types" "biome check ."
  • lint:fixbiome check --write .
  • formatbiome format --write .
  • format:checkbiome format .
  • Removed eslint:check, prettier:check, prettier:check:package.json, prettier:fix

Supersedes #851, #848, #847, #846, #843, #842, #840, #839 (all closed).

Test plan

  • npm run lint passes (type check + biome check)
  • npm test — all 112 tests pass
  • npm run check-types passes
  • Pre-commit hook (lint-staged with biome) works

🤖 Generated with Claude Code

ryanio and others added 2 commits April 14, 2026 17:11
Replace ESLint, Prettier, and all related plugins/configs with Biome for
linting and formatting. This removes 8 dev dependencies (eslint, @eslint/js,
eslint-config-prettier, eslint-plugin-import, eslint-plugin-prettier, prettier,
prettier-package-json, prettier-plugin-solidity, typescript-eslint) and replaces
them with a single @biomejs/biome dependency, matching the opensea-devtools setup.

Closes #851, #848, #847, #846, #843, #842, #840, #839.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve package-lock.json conflict by regenerating from main.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​biomejs/​biome@​2.4.1010010010099100

View full report

@ryanio ryanio merged commit c12cd9a into main Apr 15, 2026
8 checks passed
@ryanio ryanio deleted the chore/consolidate-dep-updates branch April 15, 2026 00:17
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