Make formatting settings in settings template apply to all filetypes (#55419)

This commit is contained in:
Jake Bailey
2023-08-29 13:14:32 -07:00
committed by GitHub
parent 7c417bfd1d
commit 23c9752367

View File

@@ -4,10 +4,11 @@
// To use the locally built compiler, after 'npm run build':
// "typescript.tsdk": "built/local"
"[typescript][javascript][yaml]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dprint.dprint"
},
// Enables dprint formatting on all supported files. Setting this as the
// default for all file types is safe as dprint will just ignore any file
// it doesn't support or has explicitly excluded in .dprint.jsonc.
"editor.defaultFormatter": "dprint.dprint",
"editor.formatOnSave": true,
// To ignore commits listed in .git-blame-ignore-revs in GitLens:
"gitlens.advanced.blame.customArguments": [