Skip to content
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

Support exclude patterns #75

Open
rrousselGit opened this issue Apr 19, 2023 · 3 comments
Open

Support exclude patterns #75

rrousselGit opened this issue Apr 19, 2023 · 3 comments

Comments

@rrousselGit
Copy link

Hello!

It appears that there are currently no way of excluding certain matches.
For example, a glob may want to match against foo.dart but reject foo_test.dart

The Glob syntax seems to support *[!_test].dart, but this does not appear to be supported by this package.

@vrnvorona
Copy link

vrnvorona commented May 24, 2023

same for !(pattern) globs. You can't really use library which calls itself glob but doesn't work like one, it's misleading.

@hyiso
Copy link

hyiso commented Jan 13, 2024

Same problem when using package lint_staged which use glob to match patterns

@erick-ciudaz
Copy link

with the same problem

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

No branches or pull requests

4 participants