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