-
noBlankTarget no longer hangs when applying a code fix (#2675).
Previously, the following code made Biome hangs when applying a code fix.
<a href="https://example.com" rel="" target="_blank"></a>
Contributed by @Conaclos
-
noRedeclare no longer panics on conditional type (#2659).
This is a regression introduced by #2394.
This regression makes noRedeclare
panics on every conditional types with infer
bindings.
Contributed by @Conaclos
-
noUnusedLabels and noConfusingLabels now ignore svelte reactive statements (#2571).
The rules now ignore reactive Svelte blocks in Svelte components.
<script>
$: { /* reactive block */ }
</script>
Contributed by @Conaclos
-
useExportType no longer removes leading comments (#2685).
Previously, useExportType
removed leading comments when it factorized the type
qualifier.
It now provides a code fix that preserves the leading comments:
- export {
+ export type {
/**leading comment*/
- type T
+ T
}
Contributed by @Conaclos
-
useJsxKeyInIterable no longer reports false positive when iterating on non-jsx items (#2590).
The following snipet of code no longer triggers the rule:
<>{data.reduce((total, next) => total + next, 0)}</>
Contributed by @dyc3
-
Fix typo by renaming useConsistentBuiltinInstatiation
to useConsistentBuiltinInstantiation
Contributed by @minht11
-
Fix the rule useSingleCaseStatement
including break
statements when counting the number of statements in a switch
statement (#2696)