Bump @biomejs/biome from 1.9.4 to 2.4.9#382
Conversation
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.4.9. - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.9/packages/@biomejs/biome) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.4.9 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Line 65: Update the Biome suppression comments to the v2.4.9 format by
replacing any occurrences of the old pattern "// biome-ignore lint/<rule>:
<explanation>" with the new pattern "// biome-ignore lint: <reason>" in the
specified files: change the suppression in lib/errors/errorHandler.ts (around
the handleError symbol) to use a concise reason, update both suppressions in
lib/jwt-utils/tokenUtils.ts (near generateToken and verifyToken) to use brief
reasons, and adjust the suppression in
lib/plugins/bull-mq-metrics/queueDiscoverers.ts (near discoverQueues) likewise;
ensure each replacement provides a short justification string and then run npm
run lint to verify all suppression errors are resolved before merging.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: f07e9fae-3481-4d76-b8b0-59652dacdea0
📒 Files selected for processing (1)
package.json
| "devDependencies": { | ||
| "@amplitude/analytics-types": "^2.10.0", | ||
| "@biomejs/biome": "^1.9.4", | ||
| "@biomejs/biome": "^2.4.9", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Verify Biome v2.4.9 works correctly with existing configuration and codebase.
echo "=== Checking if biome.json exists and is v2-compatible ==="
if [ -f "biome.json" ]; then
echo "Found biome.json"
# Check schema version
cat biome.json | jq -r '."$schema"'
else
echo "ERROR: biome.json not found"
fi
echo ""
echo "=== Running lint script (dry-run to check for violations) ==="
npm run lint 2>&1 | head -100
echo ""
echo "=== Checking Biome CLI version after update ==="
npx biome --versionRepository: lokalise/fastify-extras
Length of output: 6720
Update suppression comments to Biome v2.4.9 format—lint script currently fails.
The major version upgrade to Biome v2.4.9 introduces stricter validation of suppression comments. The existing codebase contains suppression comments with <explanation> placeholders, which Biome v2.4.9 rejects as invalid. The npm run lint script fails with multiple suppression errors.
Affected files require the following fix:
- Replace:
// biome-ignore lint/<rule>: <explanation> - With:
// biome-ignore lint: <reason>(where<reason>is a brief justification)
Files requiring updates:
lib/errors/errorHandler.ts:18lib/jwt-utils/tokenUtils.ts:29, :32lib/plugins/bull-mq-metrics/queueDiscoverers.ts:56
Ensure npm run lint completes successfully before merging.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@package.json` at line 65, Update the Biome suppression comments to the v2.4.9
format by replacing any occurrences of the old pattern "// biome-ignore
lint/<rule>: <explanation>" with the new pattern "// biome-ignore lint:
<reason>" in the specified files: change the suppression in
lib/errors/errorHandler.ts (around the handleError symbol) to use a concise
reason, update both suppressions in lib/jwt-utils/tokenUtils.ts (near
generateToken and verifyToken) to use brief reasons, and adjust the suppression
in lib/plugins/bull-mq-metrics/queueDiscoverers.ts (near discoverQueues)
likewise; ensure each replacement provides a short justification string and then
run npm run lint to verify all suppression errors are resolved before merging.
|
Superseded by #385. |
Bumps @biomejs/biome from 1.9.4 to 2.4.9.
Release notes
Sourced from
@biomejs/biome's releases.... (truncated)
Changelog
Sourced from
@biomejs/biome's changelog.... (truncated)
Commits
ad37526ci: release (#9620)eb57e3achore: use npmx.dev badge (#9614)e168494feat(linter): add rulenoUntrustedLicenses(#9474)085d324feat(css): addnoDuplicateSelectors(#9315)4d050dffeat(analyze): implement noInlineStyles (#9534)723798bfeat: apply fix to use consistent method signatures (#9544)f4bf341ci: release (#9517)e7b3b10feat(lint): add noDrizzleDeleteWithoutWhere and noDrizzleUpdateWithoutWhere r...1f30838ci: release (#9346)3ac98ebfeat(css/lint): useBaseline (#9318)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@biomejs/biomesince your current version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)