Skip to content

chore: exclude additional directories from biome#5795

Merged
chenjiahan merged 1 commit intomainfrom
biome_ignore_0808
Aug 8, 2025
Merged

chore: exclude additional directories from biome#5795
chenjiahan merged 1 commit intomainfrom
biome_ignore_0808

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

It seems that Biome's "useIgnoreFile": true option does not work as expected. We can manually skip some directories to improve Biome's performance.

Try to fix: biomejs/biome#7020

Screenshot 2025-08-08 at 10 48 51

Before

Screenshot 2025-08-08 at 11 27 03

After

Screenshot 2025-08-08 at 11 30 55

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 8, 2025 03:31
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 8, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit c61b008
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68956f7eebeca10008349d2a
😎 Deploy Preview https://deploy-preview-5795--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 84 (🟢 up 8 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves Biome's performance by explicitly excluding additional directories from linting/formatting that should be ignored but aren't being properly handled by Biome's useIgnoreFile option.

  • Adds explicit ignore patterns for common build artifacts and generated content directories
  • Works around a known issue where Biome's useIgnoreFile: true configuration doesn't function as expected

@chenjiahan chenjiahan merged commit b9f05f3 into main Aug 8, 2025
12 checks passed
@chenjiahan chenjiahan deleted the biome_ignore_0808 branch August 8, 2025 03:37
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.

🐛 Biome taking up all the CPU

2 participants