集成Prettier和Stylelint

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

No files matched your search

+10
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"]
}