prettier working

This commit is contained in:
Roger Sikorski 2023-11-12 12:35:18 +01:00
parent 8fc324aa13
commit 5f872ade7b
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4
3 changed files with 16 additions and 2 deletions

View File

@ -8,5 +8,5 @@ indent_style = space
indent_size = 2 indent_size = 2
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = false trim_trailing_whitespace = true
insert_final_newline = false insert_final_newline = true

9
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,9 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"EditorConfig.EditorConfig",
// Code formatter using prettier
"esbenp.prettier-vscode"
]
}

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

@ -0,0 +1,5 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": false
}