Skip to content

fix(core): .gitignore is discovered in more scenarios#6752

Merged
arendjr merged 1 commit intobiomejs:mainfrom
arendjr:dont-ignore-ignore-file
Jul 7, 2025
Merged

fix(core): .gitignore is discovered in more scenarios#6752
arendjr merged 1 commit intobiomejs:mainfrom
arendjr:dont-ignore-ignore-file

Conversation

@arendjr
Copy link
Copy Markdown
Contributor

@arendjr arendjr commented Jul 7, 2025

Summary

Fixed #6646: .gitignore files are now picked up even when running Biome from a nested directory, or when the ignore file itself is ignored through files.includes.

Test Plan

Added a test case.

@arendjr arendjr requested review from a team July 7, 2025 14:36
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jul 7, 2025

🦋 Changeset detected

Latest commit: 15a9caa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 14 packages
Name Type
@biomejs/biome Minor
@biomejs/cli-win32-x64 Minor
@biomejs/cli-win32-arm64 Minor
@biomejs/cli-darwin-x64 Minor
@biomejs/cli-darwin-arm64 Minor
@biomejs/cli-linux-x64 Minor
@biomejs/cli-linux-arm64 Minor
@biomejs/cli-linux-x64-musl Minor
@biomejs/cli-linux-arm64-musl Minor
@biomejs/wasm-web Minor
@biomejs/wasm-bundler Minor
@biomejs/wasm-nodejs Minor
@biomejs/backend-jsonrpc Patch
@biomejs/js-api Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added A-CLI Area: CLI A-Core Area: core A-Project Area: project labels Jul 7, 2025
@arendjr arendjr merged commit c9eaca4 into biomejs:main Jul 7, 2025
11 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI A-Core Area: core A-Project Area: project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Calling biome from a subdirectoy ignores root .gitignore

1 participant