ci: 一些配置和注释

This commit is contained in:
佚名程序员 2023-02-22 11:20:41 +08:00
parent 9f7b6ef6db
commit 4f1b0df492
2 changed files with 22 additions and 4 deletions

10
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"recommendations": [
"CodeInChinese.EnglishChineseDictionary", // ()
"kisstkondoros.vscode-gutter-preview", // Image
"ritwickdey.LiveServer", //
"antfu.unocss", // UnoCSS css
"esbenp.prettier-vscode", //
]
}

16
.vscode/settings.json vendored
View File

@ -1,5 +1,13 @@
{ {
"editor.formatOnSave": true, // // https://blog.csdn.net/weixin_46238462/article/details/125867532
"editor.detectIndentation": false,
"editor.tabSize": 4 "editor.defaultFormatter": "esbenp.prettier-vscode", // ,
} "editor.formatOnSave": true, //
"editor.detectIndentation": false, // #editor.tabSize# #editor.insertSpaces#
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll": true, //
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
}, //
}