123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- {
- "typescript.tsdk": "./node_modules/typescript/lib",
- "npm.packageManager": "pnpm",
- "editor.tabSize": 2,
- "prettier.printWidth": 140, // 超过最大值换行
- "editor.defaultFormatter": "esbenp.prettier-vscode",
- "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
- },
- "stylelint.enable": true,
- "stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass"],
- "path-intellisense.mappings": {
- "@/": "${workspaceRoot}/src"
- },
- "eslint.experimental.useFlatConfig": true,
- "prettier.enable": false,
- "editor.formatOnSave": false,
- "editor.codeActionsOnSave": {
- "source.fixAll": "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"
- ],
- "[javascriptreact]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[typescript]": {
- "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
- },
- "[typescriptreact]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[html]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[css]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[less]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[scss]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[markdown]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
- },
- "[vue]": {
- "editor.codeActionsOnSave": {
- "source.fixAll.eslint": true,
- "source.organizeImports": false,
- "source.fixAll.stylelint": true
- }
- },
- "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",
- "antfu",
- "antv",
- "brotli",
- "browserslist",
- "Cascader",
- "codemirror",
- "commitlint",
- "cropperjs",
- "echarts",
- "esnext",
- "esno",
- "iconify",
- "Inited",
- "INTLIFY",
- "lintstagedrc",
- "logicflow",
- "nprogress",
- "picocolors",
- "pinia",
- "pnpm",
- "qrcode",
- "sider",
- "sortablejs",
- "stylelint",
- "svgs",
- "tailwind",
- "tailwindcss",
- "tinymce",
- "unocss",
- "unref",
- "vben",
- "vditor",
- "videojs",
- "vitejs",
- "vuedraggable",
- "vueuse",
- "xingyuv",
- "yudao",
- "zxcvbn"
- ],
- // 控制相关文件嵌套展示
- "explorer.fileNesting.enabled": true,
- "explorer.fileNesting.expand": false,
- "explorer.fileNesting.patterns": {
- "*.ts": "$(capture).test.ts, $(capture).test.tsx",
- "*.tsx": "$(capture).test.ts, $(capture).test.tsx",
- "*.env": "$(capture).env.*",
- "package.json": ".hintrc,pnpm-lock.yaml,yarn.lock,LICENSE,README*,CHANGELOG*,CNAME,.gitattributes,.gitignore,stylelint.config.js,eslint.config.js,commitlint.config.js,.stylelintignore,.prettierignore,.gitpod.yml,.eslintrc.js,.eslintignore"
- },
- "eslint.codeAction.showDocumentation": {
- "enable": true
- },
- "terminal.integrated.scrollback": 10000,
- "nuxt.isNuxtApp": false
- }
|