We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From eslint/eslint#1069.
Unsure if this is intended or not, so opening this just to make sure it's been considered (couldn't find any tests).
.gitignore will match all of the contents of a directory even without a **glob. The following would all be (mostly) equivalent:
.gitignore
**
foo/bar foo/bar/ foo/bar/**
foo/bar
foo/bar/
foo/bar/**
This isn't the case for minimatch. The first two will only match the directory itself, while the last one will match all the contents.
The text was updated successfully, but these errors were encountered:
This module is a parallel to fnmatch(3). If you want something like .gitignore behavior, you probably want fstream-ignore.
fnmatch(3)
fstream-ignore
Sorry, something went wrong.
No branches or pull requests
From eslint/eslint#1069.
Unsure if this is intended or not, so opening this just to make sure it's been considered (couldn't find any tests).
.gitignore
will match all of the contents of a directory even without a**
glob. The following would all be (mostly) equivalent:foo/bar
foo/bar/
foo/bar/**
This isn't the case for minimatch. The first two will only match the directory itself, while the last one will match all the contents.
The text was updated successfully, but these errors were encountered: