ljharb/npmignore

default `gitignore` option using git's algorithm

Open

#13 opened on Nov 5, 2022

 (0 comments) (0 reactions) (0 assignees)JavaScript (7 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (29 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently, the bin defaults to $PWD/.gitignore - instead, it should use git's own algorithm, if possible, to locate the gitignore file within the containing git repo (which might be in a parent directory, but should stop at a dir with a .git dir)

Contributor guide