chore(deps): update dependency @biomejs/biome to v2.1.3 #2427
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:
2.1.2
->2.1.3
Release Notes
biomejs/biome (@biomejs/biome)
v2.1.3
Compare Source
Patch Changes
#7057
634a667
Thanks @mdevils! - Added the rulenoVueReservedKeys
, which prevents the use of reserved Vue keys.It prevents the use of Vue reserved keys such as those starting with
# @​biomejs/biome (like
$el,
$data,
$props) and keys starting with
_` in data properties, which can cause conflicts and unexpected behavior in Vue components.Invalid example
Valid examples
#6941
734d708
Thanks @JamBalaya56562! - Added@eslint-react/no-nested-component-definitions
as a rule source fornoNestedComponentDefinitions
. Now it will get picked up bybiome migrate --eslint
.#6463
0a16d54
Thanks @JamBalaya56562! - Fixed a website link for theuseComponentExportOnlyModules
linter rule to point to the correct URL.#6944
e53f2fe
Thanks @sterliakov! - Fixed #6910: Biome now ignores type casts and assertions when evaluating numbers fornoMagicNumbers
rule.#6991
476cd55
Thanks @denbezrukov! - Fixed #6973: Add support for parsing the :active-view-transition-type() pseudo-class#6992
0b1e194
Thanks @ematipico! - Added a new JSON rule callednoQuickfixBiome
, which disallow the use of code actionquickfix.biome
inside code editor settings.#6943
249306d
Thanks @JamBalaya56562! - Fixed@vitest/eslint-plugin
source url.#6947
4c7ed0f
Thanks @JamBalaya56562! - Fixed ESLint migration for the ruleprefer-for
fromeslint-plugin-solid
to Biome'suseForComponent
.#6976
72ebadc
Thanks @siketyan! - Fixed #6692: The rulesnoUnusedVariables
andnoUnusedFunctionParameters
no longer cause an infinite loop when the suggested name is not applicable (e.g. the suggested name is already declared in the scope).#6990
333f5d0
Thanks @rvanlaarhoven! - Fixed the documentation URL forlint/correctness/noUnknownPseudoClass
#7000
4021165
Thanks @harxki! - Fixed #6795:noUnassignedVariables
now correctly recognizes variables used in JSXref
attributes.#7044
b091ddf
Thanks @ematipico! - Fixed #6622, now the ruleuseSemanticElements
works for JSX self-closing elements too.#7014
c4864e8
Thanks @siketyan! - Fixed #6516: Thebiome migrate
command no longer break the member list with trailing comments.#6979
29cb6da
Thanks @unvalley! - Fixed #6767:useSortedClasses
now correctly removes leading and trailing whitespace in className.Previously, trailing spaces in className were not fully removed.
#7055
ee4828d
Thanks @dyc3! - Added the nursery ruleuseReactFunctionComponents
. This rule enforces the preference to use function components instead of class components.Valid:
Invalid:
#6924
2d21be9
Thanks @ematipico! - Fixed #113, where the Biome Language Server didn't correctly update the diagnostics when the configuration file is modified in the editor. Now the diagnostics are correctly updated every time the configuration file is modified and saved.#6931
e6b2380
Thanks @arendjr! - Fixed #6915:useHookAtTopLevel
no longer hangs when rules call themselves recursively.#7012
01c0ab4
Thanks @siketyan! - Fixed #5837: Invalid suppression comments such asbiome-ignore-all-start
orbiome-ignore-all-end
no longer causes a panic.#6949
48462f8
Thanks @fireairforce! - Support parseimport defer
(which is a stage3 proposal). The syntax look like this:#6938
5feb5a6
Thanks @vladimir-ivanov! - Fixed #6919 and #6920:useReadonlyClassProperties
now does checks for mutations in async class methods.Example:
#6942
cfda528
Thanks @sterliakov! - Fixed #6939. Biome now understandsthis
binding in classes outside of methods.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.