Skip to content

chore: migrate Biome recommended rules to preset - #483

Merged
jaredwray merged 1 commit into
mainfrom
cursor/biome-preset-migration-62ed
Aug 17, 2026
Merged

chore: migrate Biome recommended rules to preset#483
jaredwray merged 1 commit into
mainfrom
cursor/biome-preset-migration-62ed

Conversation

@jaredwray

Copy link
Copy Markdown
Owner

Please check if the PR fulfills these requirements

  • Followed the Contributing and Code of Conduct guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Chore / config update.

Biome 2.5 deprecates linter.rules.recommended in favor of linter.rules.preset. Running biome check currently reports:

The use of the recommended field has been deprecated, and will removed in the next major version of Biome. Use preset instead.

This PR runs biome migrate --write, which replaces "recommended": true with "preset": "recommended". Existing rule overrides (style.noDescendingSpecificity and complexity.noImportantStyles) are unchanged.

Why this change is necessary? (bug fix or feature) / What problem does it solve?
Removes the Biome deprecation diagnostic so lint stays clean ahead of the next major Biome release.

What does this PR do?

  • Migrates biome.json linter rules from the deprecated recommended boolean to preset: "recommended".
Open in Web Open in Cursor 

Replace the deprecated linter.rules.recommended boolean with
linter.rules.preset so Biome 2.5 no longer emits a deprecation info.

Co-authored-by: Jared Wray <me@jaredwray.com>
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (366cf08) to head (213e1e4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #483   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         2760      2760           
  Branches       846       837    -9     
=========================================
  Hits          2760      2760           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jaredwray
jaredwray marked this pull request as ready for review August 17, 2026 19:04
@jaredwray
jaredwray merged commit d3c7ea9 into main Aug 17, 2026
14 checks passed
@jaredwray
jaredwray deleted the cursor/biome-preset-migration-62ed branch August 17, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants