Or perhaps a whitelist... I'm thinking about that.
The whitelist can contain files or folders, for more flexibilities, and it may be easier to maintain:
* It's easier to detect missing files/folders with tests instead of unused files/folders
* With a blacklist, it will be hard to predict all unwanted files (.idea, .eclipse, .DS_store, etc.) for all developers

What do you think about that?