-
-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📝 Ignore option not respected #3345
Comments
Have you tried |
That will work, but I think it's a workaround. |
We have #2000. Maybe it is a regression, because I remember making a change to ignore entire folders when specified under |
When I add the folders explicitly they are ignored as expected: "ignore": [
- "**/dist/",
+ "hooks/dist/",
+ "debug/dist/",
+ "compat/dist/",
+ "dist/",
] Seems like the leading |
While I was working on #3317, I noticed some code that might be related to this issue: biome/crates/biome_service/src/matcher/mod.rs Lines 104 to 115 in 3c23f59
I think it was meant to be And I can't see where the |
We have many issues with the glob matcher library. This is something we want to improve in Biome 2.0 I started some experimentation two month ago. |
one thing that could be fixed is how "foo/**/*" will match both the only workaround i've found so far is using the parent directory name, e.g. |
I believe I'm having this issue. |
Environment information
Configuration
Playground link
Steps to reproduce:
npm i
npm run build
biome format .
It will try to format all generated files in
dist/
folders despite them being ignored in the config.Code of Conduct
The text was updated successfully, but these errors were encountered: