(vsc) automatically fix lints on save

This commit is contained in:
Valentyne Stigloher 2023-12-31 16:44:17 +01:00
parent 8e1a40d74f
commit 9543c86975
2 changed files with 12 additions and 2 deletions

3
.gitignore vendored
View File

@ -117,5 +117,4 @@ sw.*
# Vim swap files
*.swp
/.vscode
.editorconfig
.editorconfig

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

@ -0,0 +1,11 @@
{
"editor.formatOnSave": false,
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "json", "jsonc", "yaml"],
"files.associations": {
"*.suml": "yaml"
}
}