From 37cceec509633e03944b13aee6638cfefdea305f Mon Sep 17 00:00:00 2001 From: SuJiehao Date: Fri, 5 May 2023 17:38:18 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20editorconfig=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=92=8C=E6=8F=92=E4=BB=B6=E6=8E=A8=E8=8D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 13 +++++++++++++ .vscode/extensions.json | 1 + 2 files changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5d12634 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 919f4d0..3c9306c 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,6 +6,7 @@ "evils.uniapp-vscode", // uni-app 文档 "vue.volar", // vue3 语法支持 "vue.vscode-typescript-vue-plugin", // vue3 ts 插件 + "editorconfig.editorconfig", // editorconfig "dbaeumer.vscode-eslint", // eslint "esbenp.prettier-vscode" // prettier ]