-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency @biomejs/biome to v1.7.2 #50
Conversation
Important Auto Review SkippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 11 11
Lines 140 140
Branches 10 10
=========================================
Hits 140 140
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This PR contains the following updates:
1.7.1
->1.7.2
Release Notes
biomejs/biome (@biomejs/biome)
v1.7.2
Compare Source
Analyzer
Bug fixes
Import sorting now ignores side effect imports (#817).
A side effect import consists now in its own group.
This ensures that side effect imports are not reordered.
Here is an example of how imports are now sorted:
Contributed by @Conaclos
Import sorting now adds spaces where needed (#1665)
Contributed by @Conaclos
CLI
Bug fixes
biome migrate eslint
now handles cyclic references.Some plugins and configurations export objects with cyclic references.
This causes
biome migrate eslint
to fail or ignore them.These edge cases are now handled correctly.
Contributed by @Conaclos
Formatter
Bug fixes
Linter
New features
Add nusery/noReactSpecificProps.
Contributed by @marvin-j97
Add noUselessUndefinedInitialization.
Contributed by @lutaok
Add nusery/useArrayLiterals.
Contributed by @Kazuhiro-Mimaki
Add nusery/useConsistentBuiltinInstatiation.
Contributed by @minht11
Add nusery/useDefaultSwitchClause.
Contributed by @michellocana
Bug fixes
noDuplicateJsonKeys no longer crashes when a JSON file contains an unterminated string (#2357).
Contributed by @Conaclos
noRedeclare now reports redeclarations of parameters in a functions body (#2394).
The rule was unable to detect redeclarations of a parameter or type parameter in the function body.
The following two redeclarations are now reported:
Contributed by @Conaclos
noRedeclare no longer reports overloads in object types (#2608).
The rule no longer report redeclarations in the following code:
Contributed by @Conaclos
noRedeclare now merge default function export declarations and types (#2372).
The following code is no longer reported as a redeclaration:
Contributed by @Conaclos
noUndeclaredVariables no longer reports variable-only and type-only exports (#2637).
Contributed by @Conaclos
[noUnusedVariables] no longer crash Biome when encountering a malformed conditional type (#1695).
Contributed by @Conaclos
useConst now ignores a variable that is read before its assignment.
Previously, the rule reported the following example:
It is now correctly ignored.
Contributed by @Conaclos
useShorthandFunctionType now suggests correct code fixes when parentheses are required (#2595).
Previously, the rule didn't add parentheses when they were needed.
It now adds parentheses when the function signature is inside an array, a union, or an intersection.
Contributed by @Conaclos
useTemplate now correctly escapes strings (#2580).
Previously, the rule didn't correctly escape characters preceded by an escaped character.
Contributed by @Conaclos
noMisplacedAssertion now allow these matchers
expect.any()
expect.anything()
expect.closeTo
expect.arrayContaining
expect.objectContaining
expect.stringContaining
expect.stringMatching
expect.extend
expect.addEqualityTesters
expect.addSnapshotSerializer
Contributed by @fujiyamaorange
Parser
Bug fixes
The language parsers no longer panic on unterminated strings followed by a newline and a space (#2606, #2410).
The following example is now parsed without making Biome panics:
Contributed by @Conaclos
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.