Skip to content

Conversation

@glass-ships
Copy link
Member

BiomeJS is a linter and formatter written in rust that provides:

  • Significantly faster linting (upwards of 10x, annecdotally up to ~50x faster than eslint)
  • 97% compatibility score with prettier
  • Simpler configuration, fewer files (one json file, schema well documented)
  • Has IDE support for VSCode, Zed, and other editors

Will follow up with a secondary PR to address some lingering linting errors

@glass-ships glass-ships changed the title Switch to biome for frontend linting/formatting [draft] Switch to biome for frontend linting/formatting Nov 4, 2025
@bmaranville
Copy link
Member

I can see that it caught a lot in the linter... including our stomping on a Javascript global name DataView (I completely missed that one).

Does biomejs fix the problems too?

@glass-ships
Copy link
Member Author

it does have an option to fix, though it's limited in what it's able to change, similarly to eslint.
I really like biome for my React projects, which is what prompted but unfortunately, biome support for Vue is currently experimental, so i've been holding off on giving this PR more attention until either they introduce wider support, or i can figure out a reasonable way to bypass all the false positives on things like unused variables/functions (that's the biggest offender, because it doesn't parse the <template> section of Vue files.

@glass-ships
Copy link
Member Author

Alternatively, there's also oxlint which is made by the core Vue team themselves, but I haven't given it a try yet - maybe another avenue worth exploring.

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.

3 participants