chore(deps): update dependency @biomejs/biome to v1.6.4 #670
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.5.3
->1.6.4
Release Notes
biomejs/biome (@biomejs/biome)
v1.6.4
Compare Source
Analyzer
Bug fixes
CLI
Bug fixes
Configuration
Bug fixes
recommended
orall
isfalse
(#2191). Contributed by @Sec-antEditors
Bug fixes
quickfix.biome
is enabled and someimport
-related rules are applied (#2222, #688, #1015). Contributed by @Sec-antLinter
Bug fixes
Fix #2211. noChildrenProp should work fine when children pass as a prop in a new line. Contributed by @fireairforce
Fix #2248.
lint/a11y/useButtonType
should not trigger when button element with spread attribute. Contributed by @fireairforceFix #2216.
lint/style/useNamingConvention
should not ignore JSX Component name binding. Contributed by @fireairforceEnhancements
useSortedClasses
. Contributed by @ematipicoParser
.astro
files contains an illegal return:v1.6.3
Compare Source
Analyzer
CLI
Bug fixes
Fix configuration resolution. Biome is now able to correctly find the
biome.jsonc
configuration file when--config-path
is explicitly set (#2164). Contributed by @Sec-antJavaScript/TypeScript files of different variants (
.ts
,.js
,.tsx
,.jsx
) in a single workspace now have stable formatting behaviors when running the CLI command in paths of different nested levels or in different operating systems (#2080, #2109). Contributed by @Sec-antConfiguration
Bug fixes
formatter.lineEnding
,[language].formatter.lineEnding
,formatter.attributePosition
andjavascript.formatter.attributePosition
. Contributed by @Sec-antEditors
Formatter
Bug fixes
JavaScript APIs
Linter
New features
any
type through reassignments. Contributed by @fujiyamaorangeEnhancements
noSemicolonInJsx
tonoSuspiciousSemicolonInJsx
. Contributed by @fujiyamaorangeLSP
Bug fixes
linter
is disabled (#2161). Contributed by @Sec-antParser
v1.6.2
Compare Source
Analyzer
Bug fixes
The
noSuperWithoutExtends
rule now allows for callingsuper()
in derived class constructors of class expressions (#2108). Contributed by @Sec-antFix discrepancies on file source detection. Allow module syntax in
.cts
files (#2114). Contributed by @Sec-antCLI
Bug fixes
Fixes #2131, where folders were incorrectly ignored when running the command
check
. Now folders are correctly ignored based on their command. Contributed by @ematipicoSmoother handling of
"endOfLine": "auto"
in prettier migration: falling back to"lf"
(#2145). Contributed by @eMerzhConfiguration
Bug fixes
all
andrecommend
presets in top-level and group-level configs is now correctly respected. More details can be seen in (#2072) (#2028). Contributed by @Sec-antFormatter
Bug fixes
JavaScript APIs
Enhancements
lintContent
method of theBiome
class (#1956). Contributed by @mnahkiesLinter
Bug fixes
Rule
noUndeclaredDependencies
now also validatespeerDependencies
andoptionalDependencies
(#2122). Contributed by @Sec-antRule
noUndeclaredDependencies
won't checkdeclare module
statements anymore (#2123). Contributed by @Sec-antFix #1925. The fix for
useOptionalChain
would sometimes suggest an incorrect fix that discarded optional chaining operators on the left-hand side of logical expressions. These are now preserved. Contributed by @arendjrRule
noUndeclaredVariables
now also checks for worker globals (#2121). Contributed by @Sec-antLSP
Bug fixes
Correctly parse
.jsonc
files. Contributed by @Sec-antCorrectly resolve external
extends
configs. Contributed by @Sec-antv1.6.1
Compare Source
CLI
Bug fixes
biome.jsonc
(#2008). Contributed by @Sec-antConfiguration
Bug fixes
json.formatter.trailingCommas
option now works inoverrides
(#2009). Contributed by @Sec-antLinter
New features
Add rule noDoneCallback, this rule checks the function parameter of hooks & tests
for use of the done argument, suggesting you return a promise instead. Contributed by @vasucp1207
Bug fixes
useJsxKeyInIterable now recognizes function bodies wrapped in parentheses (#2011). Contributed by @Sec-ant
useShorthandFunctionType now preserves type parameters of generic interfaces when applying fixes (#2015). Contributed by @Sec-ant
Code fixes of useImportType and useExportType now handle multiline statements (#2041). Contributed by @Conaclos
noRedeclare no longer reports type parameter and parameter with identical names (#1992).
The following code is no longer reported:
Contributed by @Conaclos
noRedeclare now reports duplicate type parameters in a same declaration.
The following type parameters are now reported as a redeclaraion:
Contributed by @Conaclos
noUndeclaredDependencies now recognizes imports of subpath exports.
E.g., the following import statements no longer report errors if
@mui/material
andtailwindcss
are installed as dependencies:Contributed by @Sec-ant
Parser
Bug fixes
JavaScript lexer is now able to lex regular expression literals with escaped non-ascii chars (#1941).
Contributed by @Sec-ant
v1.6.0
Compare Source
Analyzer
New features
.astro
files. Biome is able to sort imports inside the frontmatter of the Astro files. Contributedby @ematipico
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.