biomejs/biome (@biomejs/biome)
### [`v1.7.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#173-2024-05-06)
[Compare Source](https://togithub.com/biomejs/biome/compare/2c70d3fde5b13ec9ef0915d22837ab8321b6737f...b9f90b7ee63506a1995bc29f4e389efec25a1525)
##### CLI
##### Bug fixes
- The [stdin-file-path](https://biomejs.dev/guides/integrate-in-editor/#use-stdin) option now works correctly for Astro/Svelte/Vue files ([#2686](https://togithub.com/biomejs/biome/pull/2686))
Fix [#2225](https://togithub.com/biomejs/biome/issues/2225) where lint output become empty for Vue files.
Contributed by [@tasshi-me](https://togithub.com/tasshi-me)
- `biome migrate eslint` now correctly resolve `@scope/eslint-config` ([#2705](https://togithub.com/biomejs/biome/issues/2705)). Contributed by [@Conaclos](https://togithub.com/Conaclos)
##### Formatter
##### Linter
##### New features
- Add [nursery/useExplicitLengthCheck](https://biomejs.dev/linter/rules/use-explicit-length-check/).
##### Bug fixes
- [noBlankTarget](https://biomejs.dev/linter/rules/no-blank-target/) no longer hangs when applying a code fix ([#2675](https://togithub.com/biomejs/biome/issues/2675)).
Previously, the following code made Biome hangs when applying a code fix.
```jsx
```
Contributed by [@Conaclos](https://togithub.com/Conaclos)
- [noRedeclare](https://biomejs.dev/linter/rules/no-redeclare/) no longer panics on conditional type ([#2659](https://togithub.com/biomejs/biome/issues/2659)).
This is a regression introduced by [#2394](https://togithub.com/biomejs/biome/issues/2394).
This regression makes `noRedeclare` panics on every conditional types with `infer` bindings.
Contributed by [@Conaclos](https://togithub.com/Conaclos)
- [noUnusedLabels](https://biomejs.dev/linter/rules/no-unused-labels/) and [noConfusingLabels](https://biomejs.dev/linter/rules/no-confusing-labels/) now ignore svelte reactive statements ([#2571](https://togithub.com/biomejs/biome/issues/2571)).
The rules now ignore reactive Svelte blocks in Svelte components.
```svelte
```
Contributed by [@Conaclos](https://togithub.com/Conaclos)
- [useExportType](https://biomejs.dev/linter/rules/use-export-type/) no longer removes leading comments ([#2685](https://togithub.com/biomejs/biome/issues/2685)).
Previously, `useExportType` removed leading comments when it factorized the `type` qualifier.
It now provides a code fix that preserves the leading comments:
```diff
- export {
+ export type {
/**leading comment*/
- type T
+ T
}
```
Contributed by [@Conaclos](https://togithub.com/Conaclos)
- [useJsxKeyInIterable](https://biomejs.dev/linter/rules/use-jsx-key-in-iterable/) no longer reports false positive when iterating on non-jsx items ([#2590](https://togithub.com/biomejs/biome/issues/2590)).
The following snipet of code no longer triggers the rule:
```jsx
<>{data.reduce((total, next) => total + next, 0)}>
```
Contributed by [@dyc3](https://togithub.com/dyc3)
- Fix typo by renaming `useConsistentBuiltinInstatiation` to `useConsistentBuiltinInstantiation`
Contributed by [@minht11](https://togithub.com/minht11)
Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^1.7.2
->^1.7.3
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.7.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#173-2024-05-06) [Compare Source](https://togithub.com/biomejs/biome/compare/2c70d3fde5b13ec9ef0915d22837ab8321b6737f...b9f90b7ee63506a1995bc29f4e389efec25a1525) ##### CLI ##### Bug fixes - The [stdin-file-path](https://biomejs.dev/guides/integrate-in-editor/#use-stdin) option now works correctly for Astro/Svelte/Vue files ([#2686](https://togithub.com/biomejs/biome/pull/2686)) Fix [#2225](https://togithub.com/biomejs/biome/issues/2225) where lint output become empty for Vue files. Contributed by [@tasshi-me](https://togithub.com/tasshi-me) - `biome migrate eslint` now correctly resolve `@scope/eslint-config` ([#2705](https://togithub.com/biomejs/biome/issues/2705)). Contributed by [@Conaclos](https://togithub.com/Conaclos) ##### Formatter ##### Linter ##### New features - Add [nursery/useExplicitLengthCheck](https://biomejs.dev/linter/rules/use-explicit-length-check/). ##### Bug fixes - [noBlankTarget](https://biomejs.dev/linter/rules/no-blank-target/) no longer hangs when applying a code fix ([#2675](https://togithub.com/biomejs/biome/issues/2675)). Previously, the following code made Biome hangs when applying a code fix. ```jsx ``` Contributed by [@Conaclos](https://togithub.com/Conaclos) - [noRedeclare](https://biomejs.dev/linter/rules/no-redeclare/) no longer panics on conditional type ([#2659](https://togithub.com/biomejs/biome/issues/2659)). This is a regression introduced by [#2394](https://togithub.com/biomejs/biome/issues/2394). This regression makes `noRedeclare` panics on every conditional types with `infer` bindings. Contributed by [@Conaclos](https://togithub.com/Conaclos) - [noUnusedLabels](https://biomejs.dev/linter/rules/no-unused-labels/) and [noConfusingLabels](https://biomejs.dev/linter/rules/no-confusing-labels/) now ignore svelte reactive statements ([#2571](https://togithub.com/biomejs/biome/issues/2571)). The rules now ignore reactive Svelte blocks in Svelte components. ```svelte ``` Contributed by [@Conaclos](https://togithub.com/Conaclos) - [useExportType](https://biomejs.dev/linter/rules/use-export-type/) no longer removes leading comments ([#2685](https://togithub.com/biomejs/biome/issues/2685)). Previously, `useExportType` removed leading comments when it factorized the `type` qualifier. It now provides a code fix that preserves the leading comments: ```diff - export { + export type { /**leading comment*/ - type T + T } ``` Contributed by [@Conaclos](https://togithub.com/Conaclos) - [useJsxKeyInIterable](https://biomejs.dev/linter/rules/use-jsx-key-in-iterable/) no longer reports false positive when iterating on non-jsx items ([#2590](https://togithub.com/biomejs/biome/issues/2590)). The following snipet of code no longer triggers the rule: ```jsx <>{data.reduce((total, next) => total + next, 0)}> ``` Contributed by [@dyc3](https://togithub.com/dyc3) - Fix typo by renaming `useConsistentBuiltinInstatiation` to `useConsistentBuiltinInstantiation` Contributed by [@minht11](https://togithub.com/minht11)Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.