sindresorhus / globby

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

feat: priority between given patterns and .gitignore #250

Open jjangga0214 opened 1 year ago

jjangga0214 commented 1 year ago

Hi!

It seems .gitignore take higher priority than the argument patterns. So the user cannot override .gitignore pattern once gitignore: true. And I intuitionally expected the opposite priority.

Is there any special reason to design like this? Otherwise, I'd like to suggest changing the priority. (BREAKING CHANGE)

Thanks.