feat: vscode settings

Add MDX support in VSCode settings and recommendations
This commit is contained in:
HPCesia 2025-02-12 12:21:20 +08:00
parent f218cc88a2
commit d3694451ef
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,7 @@
{
"recommendations": ["astro-build.astro-vscode", "bradlc.vscode-tailwindcss"]
"recommendations": [
"astro-build.astro-vscode",
"bradlc.vscode-tailwindcss",
"unifiedjs.vscode-mdx"
]
}

View File

@ -3,10 +3,11 @@
"editor.tabSize": 2,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[mdx]": {
"editor.defaultFormatter": "unifiedjs.vscode-mdx"
},
"css.validate": false,
"scss.validate": false,
"less.validate": false,
"stylelint.validate": ["css", "postcss", "scss", "astro"],
"stylelint.validate": ["css", "astro"],
"eslint.validate": [
"javascript",
"javascriptreact",