Changelog

biomejs/biome · · 15 commits

Biome adds four new lint rules

Major lint and type-inference work landed, including new nursery rules and broader narrowing support for TS/Vue/Tailwind.

Added noUselessBind to catch pointless .bind() calls (dyc30d70b09)

Biome now flags .bind() on functions that don't use this, including arrow functions, as a new nursery lint rule. The change also wires the rule into config, diagnostics, and ESLint migration support so it can be enabled and mapped consistently.

Added useConsistentIndexedObjectStyle for object type syntax consistency (dyc34a21426)

This new nursery rule prefers Record<...> over index signatures and mapped types for object types with arbitrary keys by default. It broadens Biome's style enforcement for TypeScript object shapes and includes migration/configuration plumbing plus extensive coverage.

Added noVueDuplicateVElseIf to detect dead Vue branches (dyc3dc11dea)

Biome now reports repeated or shadowed v-else-if conditions in Vue template chains, including cases covered by earlier conditions. That helps catch branches that can never render, and the implementation extends Vue-specific parsing/condition handling alongside rule registration.

Added noTailwindConflictingClasses for conflicting utility classes (dyc337692e2)

A new nursery rule reports Tailwind classes that set the same CSS property on an element, where only one class can actually take effect. This is a practical correctness win for Tailwind-heavy codebases and ships with Tailwind preset/workflow updates plus multi-framework test coverage.

Type inference now narrows through aliased and property-based conditions (ematipico069525a, ematipico19347d1, ematipico8792099, ematipico7012ad8, ematipico65490b4, ematipico8e6a1d3)

Biome's narrowing logic was substantially expanded to track aliased conditions, optional-chain receivers, this properties, literal element accesses, property paths, and a refactor to identify narrowing subjects by id. This should reduce false negatives in noUnnecessaryConditions and other flow-sensitive checks, while the module-graph internals were heavily reworked to support the new behavior.

Other misc changes

  • Fixed HTML parser panic on a second CDATA start marker (b359d1)
  • Publishing logic now allows recent crate dependencies when releasing (ematipico7c3aa0d)
  • Dependency/security advisory updates and release version bumps (dyc374e546a, 7f8b14b, 2ada236)