fix: migrate biome.json config to v2.x#6
Merged
AaronFeledy merged 2 commits intomainfrom Feb 27, 2026
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed:
useParseIntRadixplaced in wrong rule category- Removed useParseIntRadix from the correctness group since it belongs to nursery and nursery rules aren't enabled by recommended: true anyway.
Or push these changes by commenting:
@cursor push 9feb8dac7e
Preview (9feb8dac7e)
diff --git a/biome.json b/biome.json
--- a/biome.json
+++ b/biome.json
@@ -26,7 +26,6 @@
"noUnusedImports": "off",
"noUnusedVariables": "off",
"noUnusedFunctionParameters": "off",
- "useParseIntRadix": "off",
"useExhaustiveDependencies": "off"
},
"suspicious": {
Contributor
Author
The useParseIntRadix rule belongs to the nursery group in Biome 2.x, not correctness. Having it in the wrong category caused a configuration error that disabled the entire linter. Since nursery rules aren't enabled by 'recommended': true, removing this line is the cleanest fix. Applied via @cursor push command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

The CI workflow installs latest Biome (2.4.4) but the config was written for 1.9.4. Several keys were renamed/removed in the 2.x migration.
Changes:
$schemato 2.4.4organizeImportswith disabledassist(organize imports was causing CI failures on existing code)files.ignore/linter.ignoretoincludeswith negation patternsnoUnusedImports,noUnusedVariables,useButtonType, etc.)css.parser.tailwindDirectivesand disablednoUnknownAtRulesfor Tailwind CSS compatibilitypackage.jsonto match Biome 2.x formatter outputNote
Low Risk
Changes are limited to lint/format tooling configuration; main risk is CI or local lint behavior changing (e.g., newly disabled rules or different file include patterns).
Overview
Migrates
biome.jsonto the Biome2.4.4schema, replacing deprecated config keys (e.g.,organizeImports-> disabledassist) and switching ignore lists toincludespatterns (while continuing to excludepublic/).Disables several Biome 2.x rules that would flag existing code (unused imports/vars/params, exhaustive deps, some a11y/CSS rules) and tweaks CSS parsing for Tailwind via
css.parser.tailwindDirectives.Applies formatter output changes to
package.json(array formatting only).Written by Cursor Bugbot for commit 1caf5a1. This will update automatically on new commits. Configure here.