gkz / grasp

JavaScript structural search, replace, and refactor
http://graspjs.com
MIT License
1.28k stars 33 forks source link

Option to read project .gitignore file #115

Open toboid opened 7 years ago

toboid commented 7 years ago

Hi there. Great to see that the exclude option is now present. It would be really useful if grasp had an option that told it to read a local .gitignore file to know what to exclude. This would be an easy way to ignore node_modules for example and is how sublime and atom work with search.

What do you think? I'd be happy to contribute this if it's likely to get it in.