codemix / codemix/gitignore-parser

Pattern matching is too greedy

Open
#9 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
98
Forks
21
PR merge metrics
No merged PRs in 30d

Description

``` javascript
var parser = require('gitignore-parser').compile('package');

parser.accepts('package.json'); // false
```

I would think that `package.json` should still be accepted since git CLI would not ignore that file with that `.gitignore`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.