I've found that reducing the friction, as much as possible, is the only way to get people to actually contribute.
Excluding things like .vscode and .DS_store, which is a common and universal "don't need that in my repo", is a trivial way to reduce the burden for everyone (the goal of software, imo), maintainer included.