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

packages/my-package/node-modules accepted #14

Open
robbie-c opened this issue Oct 1, 2019 · 1 comment
Open

packages/my-package/node-modules accepted #14

robbie-c opened this issue Oct 1, 2019 · 1 comment

Comments

@robbie-c
Copy link

robbie-c commented Oct 1, 2019

Despite have node_modules ignore in my .gitignore, other folders called node_modules deeper in the directory structure are accepted. This is a very common use case in monorepos.

GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
@tonisives
Copy link

tonisives commented May 8, 2023

I have the same problem.

https://www.npmjs.com/package/ignore this seems to work

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

2 participants