gitignore-parser icon indicating copy to clipboard operation
gitignore-parser copied to clipboard

packages/my-package/node-modules accepted

Open robbie-c opened this issue 6 years ago • 1 comments

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.

robbie-c avatar Oct 01 '19 11:10 robbie-c

I have the same problem.

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

tonisives avatar May 08 '23 10:05 tonisives