-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(CI): Remove Biome in favour of prettier #15461
base: develop
Are you sure you want to change the base?
Conversation
Don't we have to re-enable some eslint rules? |
The eslint config hasn't been touched much in years. The thing that is missing is calling prettier in all the packages! |
Ok, prettier is re-enabled for TypeScript and JavaScript. Rather than run it for each package individually which is quite slow, it follows how Biome worked and runs against the entire repository at once which is much faster. Unfortunatly, prettier and Biome aren't identical in how they handle formatting so there are some changes to files. It seems that prettier more forcefully collapses things when they would have fitted all on one line. This doesn't yet enable formatting for svelte, vue, and astro files but that can be enabled later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Tim!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Tim!
We never fully migrated to Biome because it didn't support all the lints we required.
Because we still have to run eslint (and prettier for some files) so there are no real gains to running Biome too.