This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
fix(deps): update dependency @biomejs/biome to v1.1.0 #214
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.0.0
->1.1.0
Release Notes
biomejs/biome (@biomejs/biome)
v1.1.0
Compare Source
Analyzer
Enhancements
rome-ignore
withbiome-ignore
. Usebiome check --apply-unsafe
to update all the comments. The action is not bulletproof, and it might generate unwanted code, that's why it's unsafe action.CLI
Enhancements
rome.json
file is found.biome migrate --write
createsbiome.json
fromrome.json
, but it won't delete therome.json
file.Bug fixes
biome.json
first, then it attempts to userome.json
.Configuration
Editors
Bug fixes
multiple servers in the
rage
output.Formatter
Enhancements
// biome-ignore
as suppression comment.// rome-ignore
suppression is deprecated.JavaScript APIs
Linter
Enhancements
useTemplate now reports all string concatenations.
Previously, the rule ignored concatenation of a value and a newline or a backquote.
For example, the following concatenation was not reported:
The rule now reports these cases and suggests the following code fixes:
useExponentiationOperator suggests better code fixes.
The rule now preserves any comment preceding the exponent,
and it preserves any parenthesis around the base or the exponent.
It also adds spaces around the exponentiation operator
**
,and always adds parentheses for pre- and post-updates.
You can use
// biome-ignore
as suppression comment.The
// rome-ignore
suppression is deprecated.noUselessConstructor now ignores decorated classes and decorated parameters.
The rule now gives suggestions instead of safe fixes when parameters are annotated with types.
Bug fixes
Fix #80, making noDuplicateJsxProps case-insensitive.
Some frameworks, such as Material UI, rely on the case-sensitivity of JSX properties.
For example, TextField has two properties with the same name, but distinct cases:
Fix #138
noCommaOperator now correctly ignores all use of comma operators inside the update part of a
for
loop.The following code is now correctly ignored:
Fix rome#4713.
Previously, useTemplate made the following suggestion:
This breaks code where
a
andb
are numbers.Now, the rule makes the following suggestion:
Fix rome#4109
Previously, useTemplate suggested an invalid code fix when a leading or trailing single-line comment was present:
Now, the rule correctly handle this case:
As a sideeffect, the rule also suggests the removal of any inner comments.
Fix rome#3850
Previously useExponentiationOperator suggested invalid code in a specific edge case:
Now, the rule properly adds parentheses:
Fix #106
noUndeclaredVariables now correctly recognizes some TypeScript types such as
Uppercase
.Fix rome#4616
Previously noUnreachableSuper reported valid codes with complex nesting of control flow structures.
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 has been generated by Mend Renovate. View repository job log here.