This uses the
files.excludesetting of Visual Studio Code
You just need to copy the content of exclude.jsonc to your settings.json file.
| before | after | 
|---|---|
|   |  | 
patterns list
grep -Po '(?<=").+(?=": true,)' exclude.jsonc:
.git*
.npmrc
.nvmrc
.dockerignore
.eslint*
.prettier*
.lintstagedrc*
lint-staged.*
.husky*
.commit*
commitlint.config*
.czrc*
.nycrc*
nyc.config*