From 297e5d2a25c4e7fa990c5583d3e4caafc53aa99a Mon Sep 17 00:00:00 2001 From: Flower-F <78215016+Flower-F@users.noreply.github.com> Date: Sun, 4 Sep 2022 23:40:08 +0800 Subject: [PATCH] feat: add editorconfig (#30) --- .editorconfig | 9 +++++++++ .vscode/extensions.json | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9d08a1a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 26b0f74..bbd882b 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,6 +5,7 @@ "antfu.unocss", "antfu.goto-alias", "vue.volar", - "dbaeumer.vscode-eslint" + "dbaeumer.vscode-eslint", + "EditorConfig.EditorConfig" ] }