chore: 增加 editorconfig 配置和插件推荐

master
SuJiehao 2 years ago committed by dongmu
parent e01e203447
commit 37cceec509

@ -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

@ -6,6 +6,7 @@
"evils.uniapp-vscode", // uni-app "evils.uniapp-vscode", // uni-app
"vue.volar", // vue3 "vue.volar", // vue3
"vue.vscode-typescript-vue-plugin", // vue3 ts "vue.vscode-typescript-vue-plugin", // vue3 ts
"editorconfig.editorconfig", // editorconfig
"dbaeumer.vscode-eslint", // eslint "dbaeumer.vscode-eslint", // eslint
"esbenp.prettier-vscode" // prettier "esbenp.prettier-vscode" // prettier
] ]

Loading…
Cancel
Save