Skip to content

Conversation

@HouseinIsProgramming
Copy link
Collaborator

@HouseinIsProgramming HouseinIsProgramming commented Dec 5, 2025

PR Description

Summary

Migrated from ESLint + Prettier to Biome for faster linting and formatting.

Changes:

  • Installed @biomejs/biome (v2.3.8)
  • Migrated ESLint config → biome.json (71/310 rules migrated)
  • Migrated Prettier config → biome.json + .editorconfig
  • Updated package.json scripts: lint, format, added check
  • Updated .lintstagedrc.json to use biome check
  • Enabled import organization (replaces prettier-plugin-organize-imports)

Performance:

  • Format time for entire repo: ~0.5s (was ~9s with Prettier)
  • Pre-commit linting and formatting seems instant, where as before it could last a while

Breaking Changes

Probably - Developer setup changes required:

  • Install Biome VS Code extension: biomejs.biome
  • Note: Import organization works differently (Biome's native sorter vs TypeScript language service)
  • Excluded from formatting: Angular files (admin-ui/**), GraphQL files (**/*.graphql)

📌 Always:

  • I have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Dec 5, 2025 3:15pm
vendure-storybook Ready Ready Preview Comment Dec 5, 2025 3:15pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 5, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch oxlint-migration

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2025

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.

2 participants