sindresorhus / globby

User-friendly glob matching
MIT License
2.53k stars 129 forks source link

Add `ignoreFiles` option #172

Closed jridgewell closed 2 years ago

jridgewell commented 3 years ago

This is very similar to the gitignore option, except it allows globing for any compatible ignore file (eg, .prettierignore or .eslintignore). AMP had a recent need for this with our prettier integration, because it doesn't respect its ignore file when using the API directly.

sindresorhus commented 3 years ago

You need to update package.json when renaming a file.

weyert commented 2 years ago

How can I help getting this PR merged into the project?

jridgewell commented 2 years ago

I've rebased, this just requires a review.

jridgewell commented 2 years ago

This has gotten another merge conflict. I'm not interested in doing more rounds. If you want to take this up, I release my changes as public domain.

fisker commented 2 years ago

I can continue work on this.