From 8b51977b32b1041507ef17e079c10ad89f9392ea Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Wed, 26 Mar 2025 15:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20cursor=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/extensions.json | 10 ++++++++++ .cursor/settings.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100755 .cursor/extensions.json create mode 100755 .cursor/settings.json diff --git a/.cursor/extensions.json b/.cursor/extensions.json new file mode 100755 index 00000000..b73360ea --- /dev/null +++ b/.cursor/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "EditorConfig.EditorConfig", + "mikestead.dotenv", + "dbaeumer.vscode-eslint", + "stylelint.vscode-stylelint", + "Vue.volar", + "antfu.unocss" + ] +} diff --git a/.cursor/settings.json b/.cursor/settings.json new file mode 100755 index 00000000..ded7c312 --- /dev/null +++ b/.cursor/settings.json @@ -0,0 +1,29 @@ +{ + "eslint.useFlatConfig": true, + "prettier.enable": false, + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit", + "source.organizeImports": "never" + }, + "stylelint.validate": [ + "css", + "postcss", + "scss", + "vue" + ], + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue", + "html", + "markdown", + "json", + "jsonc", + "yaml" + ], + "typescript.tsdk": "node_modules/typescript/lib" +}