-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
🐛 Glob syntax not fully supported #2316
Comments
It's a known limitation and we're aware of it. In fact, we don't document it: https://biomejs.dev/guides/how-biome-works/#glob-syntax-explained We will eventually get there! |
Thanks for answer. |
I think the problem here is not a glob syntax Biome doesn't support, but the use of unsupported glob syntaxes in the invoked shell. |
Oh didn't see that. Yeah, Biome doesn't support globs in the CLI. Closing as not a bug. |
Environment information
What happened?
Hello,
I tried to describe using Glob syntax a recursive check of all *.tsx and *.ts extension files existing in the src directory in the TS React project.
According to Globset Docs it should be works correctly, but biome found not all matches.
Current examples are superficial, but get the point across
Please check screenshots:
biome check src/**/*.{ts,tsx}
- AR: Checked 1 file (src/utils/utils.ts) ER: Checked 6 filesbiome check src/**/*.ts
- AR: Checked 1 file (src/utils/utils.ts) ER: Checked 3 filesWe have similar cases in our company project and currently it solves by
eslint --max-warnings 0 --ext .ts,.tsx src/
P.s
biome check src/
works correctlyExpected result
All files *.ts and *.tsx from src directory should be matched
Code of Conduct
The text was updated successfully, but these errors were encountered: