From c00aeb0132eb5e8c05c6f2fcc52df80dd028e3b2 Mon Sep 17 00:00:00 2001 From: Ullrich Praetz Date: Fri, 26 Jul 2024 11:33:26 +0200 Subject: [PATCH] add .vscode/extensions.json & src/.editorconfig --- .vscode/extensions.json | 6 ++++++ src/.editorconfig | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 src/.editorconfig diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..dd51b924 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,6 @@ +{ + "recommendations": [ + "streetsidesoftware.code-spell-checker", + "EditorConfig.EditorConfig" + ] +} \ No newline at end of file diff --git a/src/.editorconfig b/src/.editorconfig new file mode 100644 index 00000000..90ad1480 --- /dev/null +++ b/src/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.{json}] +indent_size = 2 + +[*.{yml,yaml}] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[*.{htm,html,js,ts,tsx,css,sass,scss,less,svg,vue}] +indent_size = 2 + +[*.{xml,config}] +indent_size = 2 + +[*.{cmd,bat}] +end_of_line = crlf + +[*.sh] +end_of_line = lf