Import sorting now ignores side effect imports (#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:
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"
Import sorting now adds spaces where needed (#1665)
Contributed by @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.
Import sorting now ignores side effect imports (#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:
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"
Import sorting now adds spaces where needed (#1665)
Contributed by @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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @biomejs/biome from 1.7.1 to 1.7.2.
Release notes
Sourced from
@biomejs/biome
's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome
's changelog.... (truncated)
Commits
2c70d3f
release: v1.7.2 (#2651)46c378e
feat(biome_css_analyzer): noUnknownFunction (#2570)de063b4
feat(lint/useDefaultSwitchClause): add rule (#2605)b3ed181
feat(linter): ImplementuseGenericFontNames
(#2573)a13d36d
feat: no useless undefined initialization (#2591)ce4979d
feat(biome_js_analyze): useArrayLiterals (#2541)b24b44c
fix(lint/useConst): handle reads before assignment and improve docs (#2584)b3e5768
feat(linter): add useConsistentNewBuiltin (#2540)7ea5dff
feat(biome_css_analyzer): noUnknownUnit (#2535)52029f6
fix(configuration_schema): rename some fields to camelCase in the `configurat...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show