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 ]