admin-vben/.vscode/settings.json

191 lines
4.8 KiB
JSON
Raw Normal View History

2023-03-18 13:10:54 +00:00
{
"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,
2023-09-19 02:56:19 +00:00
"pnpm-lock.yaml": true,
2023-03-18 13:10:54 +00:00
"**/tmp": true,
"out": true,
"dist": true,
2023-09-19 02:56:19 +00:00
"public": true,
2023-03-18 13:10:54 +00:00
"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"
},
2023-10-18 07:22:29 +00:00
"eslint.experimental.useFlatConfig": true,
2023-09-04 10:39:42 +00:00
"prettier.enable": false,
2023-09-13 04:12:46 +00:00
"editor.formatOnSave": false,
2023-03-18 13:10:54 +00:00
"editor.codeActionsOnSave": {
2023-10-18 07:22:29 +00:00
"source.fixAll": "explicit",
"source.organizeImports": "never"
2023-03-18 13:10:54 +00:00
},
"eslint.rules.customizations": [
2023-10-18 07:22:29 +00:00
{ "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" }
],
2023-07-29 10:46:43 +00:00
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
],
2023-07-29 12:20:40 +00:00
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
2023-07-29 12:20:40 +00:00
},
"[typescriptreact]": {
2023-08-28 09:24:02 +00:00
"editor.defaultFormatter": "esbenp.prettier-vscode"
2023-07-29 12:20:40 +00:00
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
2023-08-28 09:24:02 +00:00
"editor.defaultFormatter": "esbenp.prettier-vscode"
2023-07-29 12:20:40 +00:00
},
"[less]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
2023-03-18 13:10:54 +00:00
"[vue]": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
2023-09-19 02:56:19 +00:00
"source.organizeImports": false,
2023-03-18 13:10:54 +00:00
"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}",
2023-10-18 12:34:58 +00:00
"i18n-ally.enabledParsers": ["json"],
2023-03-18 13:10:54 +00:00
"i18n-ally.sourceLanguage": "en",
"i18n-ally.displayLanguage": "zh-CN",
"i18n-ally.enabledFrameworks": ["vue", "react"],
"cSpell.words": [
2023-09-06 08:48:54 +00:00
"antd",
"antdv",
2023-07-29 12:20:40 +00:00
"antfu",
2023-09-06 08:48:54 +00:00
"antv",
"brotli",
2023-03-18 13:10:54 +00:00
"browserslist",
2023-09-11 07:09:59 +00:00
"Cascader",
2023-09-06 08:48:54 +00:00
"codemirror",
"commitlint",
"cropperjs",
"echarts",
2023-03-18 13:10:54 +00:00
"esnext",
2023-09-06 08:48:54 +00:00
"esno",
"iconify",
2023-10-11 01:47:56 +00:00
"Inited",
2023-09-06 08:48:54 +00:00
"INTLIFY",
"lintstagedrc",
"logicflow",
"nprogress",
2023-10-18 08:02:26 +00:00
"picocolors",
2023-03-18 13:10:54 +00:00
"pinia",
2023-09-06 08:48:54 +00:00
"pnpm",
"qrcode",
2023-03-18 13:10:54 +00:00
"sider",
"sortablejs",
2023-09-06 08:48:54 +00:00
"stylelint",
2023-10-15 11:49:38 +00:00
"svgs",
2023-09-06 08:48:54 +00:00
"tailwind",
"tailwindcss",
"tinymce",
"unocss",
"unref",
"vben",
2023-03-18 13:10:54 +00:00
"vditor",
2023-09-19 02:56:19 +00:00
"videojs",
2023-09-06 08:48:54 +00:00
"vitejs",
2023-09-19 02:56:19 +00:00
"vuedraggable",
2023-03-18 13:10:54 +00:00
"vueuse",
2023-09-06 08:48:54 +00:00
"xingyuv",
"yudao",
"zxcvbn"
2023-03-18 13:10:54 +00:00
],
2023-03-24 15:37:28 +00:00
// 控制相关文件嵌套展示
"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.*",
2023-10-18 07:22:29 +00:00
"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"
2023-03-18 13:10:54 +00:00
},
2023-09-21 07:30:12 +00:00
"eslint.codeAction.showDocumentation": {
"enable": true
2023-03-18 13:10:54 +00:00
},
2023-09-04 09:31:02 +00:00
"terminal.integrated.scrollback": 10000,
"nuxt.isNuxtApp": false
2023-03-18 13:10:54 +00:00
}