generate / generate-gitignore

Generate a .gitignore file from the command line when Generate's CLI is installed globally, or use as a plugin or sub-generator in your own generator.
https://github.com/generate
MIT License
112 stars 12 forks source link

add macOs as a option or always ignore .ds_store files #9

Open Glenn-Terjesen opened 3 hours ago

Glenn-Terjesen commented 3 hours ago

Hi! Can you add macOs as a option? https://www.toptal.com/developers/gitignore/api/macos

or remove the noisy .ds_store files as default :-)

jonschlinkert commented 3 hours ago

Honestly, I think I'd rather do the latter. I always have to add .DS_Store to gitignore files, no matter what I'm doing.

I'm not sure what the best approach to doing this should be in the generator. (fwiw I completely refactored Generate and many of the generators, including this one. The new code is a lot simpler). Suggestions welcome