chore: replace ESLint + Prettier with Biome#854
Merged
Conversation
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>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
eslint.config.mjs,.prettierrc,.prettierignoreand addbiome.jsonbiome check --writeinstead of prettierRemoved dependencies
@eslint/js,eslint,eslint-config-prettier,eslint-plugin-import,eslint-plugin-prettier,prettier,prettier-package-json,prettier-plugin-solidity,typescript-eslintAdded dependencies
@biomejs/biome(2.4.10)Updated scripts
lint→concurrently "npm run check-types" "biome check ."lint:fix→biome check --write .format→biome format --write .format:check→biome format .eslint:check,prettier:check,prettier:check:package.json,prettier:fixSupersedes #851, #848, #847, #846, #843, #842, #840, #839 (all closed).
Test plan
npm run lintpasses (type check + biome check)npm test— all 112 tests passnpm run check-typespasses🤖 Generated with Claude Code