diff --git a/.vscode/extensions.json b/.vscode/extensions.json index e1e03de..7214870 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,17 +1,8 @@ { "recommendations": [ - "christian-kohler.path-intellisense", "vue.vscode-typescript-vue-plugin", - "vscode-icons-team.vscode-icons", - "davidanson.vscode-markdownlint", "dbaeumer.vscode-eslint", - "esbenp.prettier-vscode", "usernamehw.errorlens", - "mrmlnc.vscode-less", - "lokalise.i18n-ally", - "redhat.vscode-yaml", - "csstools.postcss", - "mikestead.dotenv", "eamodio.gitlens", "antfu.iconify", "antfu.unocss", diff --git a/.vscode/settings.json b/.vscode/settings.json index 727a727..4f341e9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,106 +2,14 @@ "typescript.tsdk": "./node_modules/typescript/lib", "npm.packageManager": "pnpm", "editor.tabSize": 2, - "files.eol": "\n", - "search.exclude": { - "**/node_modules": true, - "**/*.log": true, - "**/*.log*": true, - "**/bower_components": true, - "**/dist": true, - "**/elehukouben": true, - "**/.git": true, - "**/.gitignore": true, - "**/.svn": true, - "**/.DS_Store": true, - "**/.idea": true, - "**/.vscode": false, - "**/yarn.lock": true, - "pnpm-lock.yaml": true, - "**/tmp": true, - "out": true, - "dist": true, - "public": true, - "node_modules": true, - "CHANGELOG.md": true, - "examples": true, - "res": true, - "screenshots": true, - "yarn-error.log": true, - "**/.yarn": true - }, - "files.exclude": { - "**/.cache": true, - "**/.editorconfig": true, - "**/.eslintcache": true, - "**/bower_components": true, - "**/.idea": true, - "**/tmp": true, - "**/.git": true, - "**/.svn": true, - "**/.hg": true, - "**/CVS": true, - "**/.DS_Store": true - }, - "files.watcherExclude": { - "**/.git/objects/**": true, - "**/.git/subtree-cache/**": true, - "**/.vscode/**": true, - "**/node_modules/**": true, - "**/tmp/**": true, - "**/bower_components/**": true, - "**/dist/**": true, - "**/yarn.lock": true - }, - "path-intellisense.mappings": { - "@/": "${workspaceRoot}/src" - }, "prettier.enable": false, "eslint.experimental.useFlatConfig": true, "editor.formatOnSave": false, "editor.codeActionsOnSave": { - "source.fixAll": "explicit", + "source.fixAll": "never", + "source.fixAll.eslint": "explicit", "source.organizeImports": "never" }, - "eslint.rules.customizations": [ - { "rule": "style/*", "severity": "off" }, - { "rule": "*-indent", "severity": "off" }, - { "rule": "*-spacing", "severity": "off" }, - { "rule": "*-spaces", "severity": "off" }, - { "rule": "*-order", "severity": "off" }, - { "rule": "*-dangle", "severity": "off" }, - { "rule": "*-newline", "severity": "off" }, - { "rule": "*quotes", "severity": "off" }, - { "rule": "*semi", "severity": "off" } - ], - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "html", - "markdown", - "json", - "jsonc", - "yaml" - ], - "[vue]": { - "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.organizeImports": "never", - "source.fixAll.stylelint": "explicit" - } - }, - "i18n-ally.localesPaths": ["src/locales/lang"], - "i18n-ally.keystyle": "nested", - "i18n-ally.sortKeys": true, - "i18n-ally.namespace": true, - "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", - "i18n-ally.enabledParsers": ["json"], - "i18n-ally.sourceLanguage": "en", - "i18n-ally.displayLanguage": "zh-CN", - "i18n-ally.enabledFrameworks": ["vue", "react"], "cSpell.words": [ "antd", "antdv", @@ -140,13 +48,7 @@ "videojs", "vitejs", "vuedraggable", - "vueuse", - "xingyuv", - "yudao", - "zxcvbn" + "vueuse" ], - "eslint.codeAction.showDocumentation": { - "enable": true - }, "terminal.integrated.scrollback": 10000 }