集成Prettier和Stylelint

This commit is contained in:
ray
2024-09-18 20:09:40 +08:00
parent 08c6855f49
commit 801d4d58c7
10 changed files with 4769 additions and 4411 deletions

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

@@ -0,0 +1,10 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
},
"stylelint.validate": ["css", "scss", "vue", "html"]
}