chore(deps): update dependency @biomejs/biome to v1.4.0 #92
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.3
->1.4.0
Release Notes
biomejs/biome (@biomejs/biome)
v1.4.0
Compare Source
CLI
Remove the CLI options from the
lsp-proxy
, as they were never meant to be passed to that command. Contributed by @ematipicoAdd option
--config-path
tolsp-proxy
andstart
commands. It's now possible to tell the Daemon server to loadbiome.json
from a custom path. Contributed by @ematipicoAdd new
--diagnostic-level
option to let users control the level of diagnostics printed by the CLI. Possible values are:"info"
,"warn"
,"hint"
. Contributed by @simonxabrisAdd option
--line-feed
to theformat
command. Contributed by @SuperchupuDevAdd option
--bracket-same-line
to theformat
command. Contributed by @faultyserveAdd option
--bracket-spacing
to theformat
command. Contributed by @faultyserveBug fixes
format
, now it returns a non-zero exit code when if there pending diffs. Contributed by @ematipicoConfiguration
formatter.lineFeed
. Contributed by @SuperchupuDevjavascript.formatter.bracketSameLine
. Contributed by @faultyservejavascript.formatter.bracketSpacing
. Contributed by @faultyserveFormatter
New features
--line-ending
. This option allows changing the type of line endings. Contributed by @SuperchupuDev--bracket-spacing
to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. #627. Contributed by @faultyserver--bracket-same-line
to the formatter. This option allows you to control whether spaces are inserted around the brackets of object literals. #627. Contributed by @faultyserverBug fixes
Fix #832, the formatter no longer keeps an unnecessary trailing comma in type parameter lists. Contributed by @Conaclos
Fix #301, the formatter should not break before the
in
keyword. Contributed by @ematipicoLinter
Promoted rules
The following rules are now recommended:
The following rules are now deprecated:
The rule is replaced by correctness/noInvalidNewBuiltin
New features
Add noDefaultExport which disallows
export default
. Contributed by @ConaclosAdd noAriaHiddenOnFocusable which reports hidden and focusable elements. Contributed by @vasucp1207
Add noImplicitAnyLet that reports variables declared with
let
and without initialization and type annotation. Contributed by @TaKO8Ki and @b4s36t4Add useAwait that reports
async
functions that don't use anawait
expression.Add useValidAriaRole. Contributed by @vasucp1207
Add useRegexLiterals that suggests turning call to the regex constructor into regex literals. COntributed by @Yuiki
Enhancements
Bug fixes
Fix #639 by ignoring unused TypeScript's mapped key. Contributed by @Conaclos
Fix #565 by handling several
infer
with the same name in extends clauses of TypeScript's conditional types. Contributed by @ConaclosFix #653. noUnusedImports now correctly removes the entire line where the unused
import
is. Contributed by @ConaclosFix #607
useExhaustiveDependencies
, ignore optional chaining, Contributed by @msdlisperFix #676, by using the correct node for the
"noreferrer"
when applying the code action. Contributed by @ematipicoFix #455. The CLI can now print complex emojis to the console correctly.
Fix #727. noInferrableTypes now correctly keeps type annotations when the initialization expression is
null
. Contributed by @ConaclosFix #784, noSvgWithoutTitle fixes false-positives to
aria-label
and reports svg's role attribute is implicit. Contributed by @unvalleyFix #834 that made noUselessLoneBlockStatements reports block statements of switch clauses. Contributed by @vasucp1207
Fix #783 that made noUselessLoneBlockStatements reports block statements of
try-catch
structures. Contributed by @hougesenFix #69 that made correctness/noUnnecessaryContinue incorrectly reports a
continue
used to break a switch clause. Contributed by @TaKO8KiFix #664 by improving the diagnostic of style/useNamingConvention when double capital are detected in strict camel case mode. Contributed by @vasucp1207
Fix #643 that erroneously parsed the option of complexity/useExhaustiveDependencies. Contributed by @arendjr
Parser
Bug fixes
<const T,>() => {}
as a JSX tag instead of an arrow function when both TypeScript and JSX are enabled.VSCode
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.