Closed renovate[bot] closed 6 months ago
Latest commit: 14021fc87ff3170bf5f89b555b8ddec5531abc27
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
1.7.1
->1.7.2
Release Notes
biomejs/biome (@biomejs/biome)
### [`v1.7.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#172-2024-04-30) [Compare Source](https://togithub.com/biomejs/biome/compare/aba7b0c1c40a6137b3b78064841f621b53aa5fd0...2c70d3fde5b13ec9ef0915d22837ab8321b6737f) ##### Analyzer ##### Bug fixes - Import sorting now ignores side effect imports ([#817](https://togithub.com/biomejs/biome/issues/817)). A side effect import consists now in its own group. This ensures that side effect imports are not reordered. Here is an example of how imports are now sorted: ```diff import "z" - import { D } from "d"; import { C } from "c"; + import { D } from "d"; import "y" import "x" - import { B } from "b"; import { A } from "a"; + import { B } from "b"; import "w" ``` Contributed by [@Conaclos](https://togithub.com/Conaclos) - Import sorting now adds spaces where needed ([#1665](https://togithub.com/biomejs/biome/issues/1665)) Contributed by [@Conaclos](https://togithub.com/Conaclos) ##### CLI ##### Bug fixes - `biome migrate eslint` now handles cyclic references. Some plugins and configurations export objects with cyclic references. This causes `biome migrate eslint` to fail or ignore them. These edge cases are now handled correctly. Contributed by [@Conaclos](https://togithub.com/Conaclos) ##### Formatter ##### Bug fixes - Correctly handle placement of comments inside named import clauses. [#2566](https://togithub.com/biomejs/biome/pull/2566). Contributed by [@ah-yu](https://togithub.com/ah-yu) ##### Linter ##### New features - Add [nusery/noReactSpecificProps](https://biomejs.dev/linter/rules/no-react-specific-props/). Contributed by [@marvin-j97](https://togithub.com/marvin-j97) - Add [noUselessUndefinedInitialization](https://biomejs.dev/linter/rules/no-useless-undefined-initialization/). Contributed by [@lutaok](https://togithub.com/lutaok) - Add [nusery/useArrayLiterals](https://biomejs.dev/linter/rules/use-array-literals/). Contributed by [@Kazuhiro-Mimaki](https://togithub.com/Kazuhiro-Mimaki) - Add [nusery/useConsistentBuiltinInstatiation](https://biomejs.dev/linter/rules/use-consistent-builtin-instatiation/). Contributed by [@minht11](https://togithub.com/minht11) - Add [nusery/useDefaultSwitchClause](https://biomejs.dev/linter/rules/use-default-switch-clause/). Contributed by [@michellocana](https://togithub.com/michellocana) ##### Bug fixes - [noDuplicateJsonKeys](https://biomejs.dev/linter/rules/no-duplicate-json-keys/) no longer crashes when a JSON file contains an unterminated string ([#2357](https://togithub.com/biomejs/biome/issues/2357)). Contributed by [@Conaclos](https://togithub.com/Conaclos) - [noRedeclare](https://biomejs.dev/linter/rules/no-redeclare/) now reports redeclarations of parameters in a functions body ([#2394](https://togithub.com/biomejs/biome/issues/2394)). The rule was unable to detect redeclarations of a parameter or type parameter in the function body. The following two redeclarations are now reported: ```ts function fConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.