chore(deps): bump @biomejs/cli-darwin-arm64 from 2.5.0 to 2.5.7
Bumps @biomejs/cli-darwin-arm64 from 2.5.0 to 2.5.7.
Release notes
Sourced from @biomejs/cli-darwin-arm64's releases.
Biome CLI v2.5.7
2.5.7
Patch Changes
#10822
c171b3bThanks@pkallos! - Added the optionignoreIfStatementsto useNullishCoalescing. Biome now flagsifstatements that only assign to a nullish variable (such asif (!a) { a = b }) and can rewrite them to??=. When enabled, Biome ignores thoseifstatements.#11136
e63354cThanks@AkashNaickar! - Added a new nursery rulenoExtendNative, which reports extending the prototype of a built-in object.#10094
e007143Thanks@THEjacob1000! - Added the nursery rulenoTailwindArbitraryValue. Biome now reports Tailwind CSS arbitrary values such asw-[400px], including in HTML/JSX class attributes, configured utility functions, and tagged templates.#11184
135f476Thanks@subotac! - Fixed #11176:noUnknownPseudoClassnow recognizes Vue's:deep()pseudo-class inside.vuestyle blocks.#8239
a519f9dThanks@cormacrelf! - Fixed #8233, where Biome CLI in stdin mode didn't work correctly when handling files in projects with nested configurations. For example, with the following structure,--stdin-file-path=subdirectory/...would not use the nested configuration insubdirectory/biome.json:├── biome.json └── subdirectory ├── biome.json └── lib.jsbiome format --write --stdin-file-path=subdirectory/lib.js < subdirectory/lib.jsNow, the nested configuration is correctly picked up and applied.
In addition, Biome now shows a warning if
--stdin-file-pathis provided but that path is ignored and therefore not formatted or fixed.#11138
8c2c6bdThanks@ematipico! - FixednoUnnecessaryConditions: Biome now chooses the same function overload as TypeScript when an argument is a callback, so conditions that were previously missed are reported.The following code is now invalid, because a parameter typed
() => voidaccepts anasynccallback andscheduletherefore returnsstring:declare function schedule(handler: () => void): string; declare function schedule(handler: () => Promise<void>): string | undefined;
schedule(async () => {}) ?? "fallback";The following code is also now invalid, because
map(() => 42)returns42:
... (truncated)
Changelog
Sourced from @biomejs/cli-darwin-arm64's changelog.
2.5.7
Patch Changes
#10822
c171b3bThanks@pkallos! - Added the optionignoreIfStatementsto useNullishCoalescing. Biome now flagsifstatements that only assign to a nullish variable (such asif (!a) { a = b }) and can rewrite them to??=. When enabled, Biome ignores thoseifstatements.#11136
e63354cThanks@AkashNaickar! - Added a new nursery rulenoExtendNative, which reports extending the prototype of a built-in object.#10094
e007143Thanks@THEjacob1000! - Added the nursery rulenoTailwindArbitraryValue. Biome now reports Tailwind CSS arbitrary values such asw-[400px], including in HTML/JSX class attributes, configured utility functions, and tagged templates.#11184
135f476Thanks@subotac! - Fixed #11176:noUnknownPseudoClassnow recognizes Vue's:deep()pseudo-class inside.vuestyle blocks.#8239
a519f9dThanks@cormacrelf! - Fixed #8233, where Biome CLI in stdin mode didn't work correctly when handling files in projects with nested configurations. For example, with the following structure,--stdin-file-path=subdirectory/...would not use the nested configuration insubdirectory/biome.json:├── biome.json └── subdirectory ├── biome.json └── lib.jsbiome format --write --stdin-file-path=subdirectory/lib.js < subdirectory/lib.jsNow, the nested configuration is correctly picked up and applied.
In addition, Biome now shows a warning if
--stdin-file-pathis provided but that path is ignored and therefore not formatted or fixed.#11138
8c2c6bdThanks@ematipico! - FixednoUnnecessaryConditions: Biome now chooses the same function overload as TypeScript when an argument is a callback, so conditions that were previously missed are reported.The following code is now invalid, because a parameter typed
() => voidaccepts anasynccallback andscheduletherefore returnsstring:declare function schedule(handler: () => void): string; declare function schedule(handler: () => Promise<void>): string | undefined;
schedule(async () => {}) ?? "fallback";The following code is also now invalid, because
map(() => 42)returns42:type Mapper<T> = () => T; declare function map<T>(mapper: Mapper<T>): T;
... (truncated)
Commits
191d051ci: release (#11119)9847e68feat(lint): add noNonScalableViewport rule (#11168)e63354cfeat(lint): add noExtendNative nursery rule (#11136)2fa0a62docs: rework CLI (#11134)e007143feat(lint): add nursery rule noTailwindArbitraryValue (#10094)c171b3bfeat(lint): add ignoreIfStatements option to useNullishCoalescing (#10822)1139f1cci: release (#11022)781d68dfeat(lint/js): addnoRestrictedProperties(#9806)412a0e9ci: release (#10948)b3b12b3feat(lint): add noNegationInEqualityCheck rule (#10915)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Update @biomejs/cli-darwin-arm64 to 2.5.7 to pick up recent Biome CLI fixes and lint rule updates for macOS Apple Silicon. Improves linting accuracy and stdin config handling with no breaking changes.
- Dependencies
- Bump
@biomejs/cli-darwin-arm64from 2.5.0 to 2.5.7 inoptionalDependencies.
- Bump