Disable formatting on save for Dart and HTML files (#122048)

* Remove "format on save" and "format on type" from directory settings
* Also turn off HTML formatting
This commit is contained in:
Tim Sneath
2023-03-14 10:08:59 -08:00
committed by GitHub
parent 9449c4c95e
commit 47c0723f26
2 changed files with 13 additions and 1 deletions

11
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,11 @@
// VSCode workspace settings that are shared among all users of this project.
// This only affects subdirectories of this project.
{
// VSCode formats files on save by default. Since Flutter source code is
// hand-formatted, the default settings are changed to prevent inadvertent
// reformatting of code.
"editor.formatOnSave": false,
"editor.formatOnType": false,
"html.format.enable": false
}