Note that some rules are still in nursery and need to be enabled manually while they are experimental.
You can view the full list here: biomejs.dev/linter/javas...
Posts by
Biome 2.4.11 is out! In this release, we finished implementing all the Qwik specific lint rules from eslint-plugin-qwik. This makes it the first framework that is 100% supported by Biome, no extra dependencies needed!
After decades of hard work, we are very happy to announce full linting and formatting support for COBOL!
Very proud of our contributors that helped make this happen!
Biome v2.4.10 is out with important performance fixes. When fixing large files with many diagnostics, Biome took ~3s for one rule. Now it takes ~200ms! 🚀 (~13k LOC, ~3k diagnostics) That's not all, you'll get the same performance fixes in the LSP. Make sure to update
We just published a series of recipes that should help you master GritQL plugins!
biomejs.dev/recipes/grit...
- noInlineStyles helps keep your HTML/JSX maintainable
Try them out!
2.4.9 is hot off the press with a couple of cool new rules!
- If you're using CSS, you'll probably love noDuplicateSelectors, which helps keep your styles clean and lean
- If you're worried about your dependency's licences, you can keep it in check with noUntrustedLicenses
Since v2.4.7, we have shipped a lint rule called useBaseline, which checks for CSS features that aren't generally available. Give it a try!
biomejs.dev/linter/rules...
Biome 2.4.8 is building right now, and inside is a new Drizzle domain and 2 new Drizzle nursery rules! noDrizzleUpdateWithoutWhere and noDrizzleDeleteWithoutWhere ensures your .update() and .delete() queries always have a .where()
Contributed by our awesome community 💙
WOW! More than 450 rules!
Thanks to all our contributors for their time and hard work (and more recently, tokens😄)
500 soon? Help make it happen! PRs always welcome!
Ooopsi! Some leaks still happen. If you manage to find something (files, logs, etc.), please file a report
biomejs.dev/playground/?...
Screenshot of Biome's playground showcasing a query that can highlight recursive function calls.
You can now test GritQL queries in our playground! It's great for getting quick feedback.
Try it yourself!👇
Impressive performance!
Regarding the Biome benchmark, our CLI does a pre-traversal for discovering nested configurations and ignore files, which increases our processing time slightly. Something we are definitely looking into to improve!
bsky.app/profile/biom...
Biome now supports hidden files (.biome.json and .biome.jsonc), as well as loading the configuration file from your home directory!
Format AND lint CSS & GraphQL right inside your JavaScript!
Enable experimental embedded snippets to auto-format and lint styled-components, Emotion, and GraphQL queries within template literals.
Editor inline config: Override project settings in your editor without touching biome.json
Rule profiler: new --profile-rules flag helps identify bottlenecks and optimize your linting workflow
Biome v2.4 is here!
✨ CSS & GraphQL formatting & linting in JavaScript
🎨 Major Vue/Svelte/Astro improvements
⚙️ Editor inline config
📊 Rule profiler
🏠️ The configuration discovery
And a lot more! biomejs.dev/blog/biome-v...
Oh, soon everything will change 👀
Because we target the web
Checked 1797 files in 657ms. No fixes applied. Found 1 warning. Found 1 info. Rule execution time (does not include any preprocessing) total avg min max count rule 47.497ms 1.140µs 41.000ns 783.709µs 41633 correctness/noUnusedVariables 25.454ms 498.000ns 83.000ns 155.500µs 51096 suspicious/noFocusedTests 9.913ms 194.000ns 0.000ns 105.500µs 51046 suspicious/noConsole 8.971ms 220.000ns 0.000ns 224.958µs 40721 correctness/noUnusedFunctionParameters 8.955ms 154.000ns 0.000ns 85.792µs 57899 style/useNodejsImportProtocol 5.380ms 74.000ns 0.000ns 531.125µs 72343 correctness/noTypeOnlyImportAttributes 5.067ms 826.000ns 0.000ns 233.500µs 6130 correctness/noUnusedImports 4.299ms 678.000ns 0.000ns 227.000µs 6334 style/useImportType 412.454µs 177.000ns 0.000ns 53.875µs 2328 correctness/noNodejsModules 404.089µs 2.928µs
In the next version of Biome, you'll be able to profile all rules and actions!
Not yet, but you can have the configuration file in a parent folder and it will function as global
biomejs.dev/guides/confi...
🥳 Today, we’re pleased to make a special announcement regarding the continuation of our support for GritQL.
🌐 Since Biome 2.0, GritQL plugins have been supported within Biome.
🍯Now, we're excited to share that @honeycomb.io has donated the GritQL repositories to Biome.
biomejs.dev/blog/gritql-...
My first contribution to @biomejs.dev is released! 🚢
return statements in Astro frontmatter no longer trigger "Illegal return statement" errors
github.com/biomejs/biom...
That's written in our announcement biomejs.dev/blog/biome-v...
> there are cases and framework-specific syntaxes that may not yet be fully supported (for example Svelte control-flow syntax, or Astro JSX-like syntax)
What could have we done better?
Hard to say without an issue to track it.