Sourced from @biomejs/biome
's
releases.
CLI v1.9.3
CLI
New features
GritQL queries that match functions or methods will now match async functions or methods as well.
If this is not what you want, you can capture the
async
keyword (or its absence) in a metavariable and assert its emptiness:$async function foo() {} where $async <: .
Contributed by
@arendjr
Bug fixes
Fix #4077: Grit queries no longer need to match the statement's trailing semicolon. Contributed by
@arendjr
Fix #4102. Now the CLI command
lint
doesn't exit with an error code when using--write
/--fix
. Contributed by@ematipico
Configuration
Bug fixes
- Fix #4125, where
noLabelWithoutControl
options where incorrectly marked as mandatory. Contributed by@ematipico
Editors
- Fix a case where CSS files weren't correctly linted using the default configuration. Contributed by
@ematipico
Formatter
Bug fixes
Fix #3924 where GraphQL formatter panics in block comments with empty line. Contributed by
@vohoanglong0107
Fix a case where raw values inside
url()
functions weren't properly trimmed..value { - background: url( - whitespace-around-string - ); + background: url(whitespace-around-string); }
Contributed by
@ematipico
Fixed #4076, where a media query wasn't correctly formatted:
.class {
... (truncated)
Sourced from @biomejs/biome
's
changelog.
v1.9.3 (2024-10-01)
CLI
New features
GritQL queries that match functions or methods will now match async functions or methods as well.
If this is not what you want, you can capture the
async
keyword (or its absence) in a metavariable and assert its emptiness:$async function foo() {} where $async <: .
Contributed by
@arendjr
Bug fixes
Fix #4077: Grit queries no longer need to match the statement's trailing semicolon. Contributed by
@arendjr
Fix #4102. Now the CLI command
lint
doesn't exit with an error code when using--write
/--fix
. Contributed by@ematipico
Configuration
Bug fixes
- Fix #4125, where
noLabelWithoutControl
options where incorrectly marked as mandatory. Contributed by@ematipico
Editors
- Fix a case where CSS files weren't correctly linted using the default configuration. Contributed by
@ematipico
Formatter
Bug fixes
Fix #3924 where GraphQL formatter panics in block comments with empty line. Contributed by
@vohoanglong0107
Fix a case where raw values inside
url()
functions weren't properly trimmed..value { - background: url( - whitespace-around-string - ); + background: url(whitespace-around-string); }
Contributed by
@ematipico
Fixed #4076, where a media query wasn't correctly formatted:
... (truncated)
3d498ed
release: v1.9.3 (#4140)7e29f06
fix(lint): options for noLabelWithoutControl
are optional
(#4138)10a1371
feat(useExhaustiveDependencies): add option to disable errors for
unecessary ...295efb9
feat(biome_css_analyze): implement noDescendingSpecificity
(#4097)f3cfa8a
fix(schema): make optional the options
JSON schema field
(#4080)cc4c867
feat(linter): implement noTemplateCurlyInString (#4069)d03c6cd
feat(linter): implement no-nested-ternary (#4067)2b6b3c8
chore(deps): update @biomejs
packages
(#4047)b76cb41
feat(linter): implement useExplicitFunctionReturnType (#3990)a766aeb
chore(readme): use polar shield (#4000)