2023-02-11 00:44:00 +08:00
|
|
|
{
|
|
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
|
|
"prettier.enable": true,
|
2023-06-21 10:50:03 +08:00
|
|
|
"npm.packageManager": "pnpm",
|
2023-02-11 00:44:00 +08:00
|
|
|
"editor.formatOnType": true,
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.formatOnPaste": true,
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"source.fixAll.eslint": true
|
|
|
|
},
|
2023-06-21 10:55:37 +08:00
|
|
|
"[javascriptreact]": {
|
2023-02-11 00:44:00 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescript]": {
|
2023-06-21 10:55:37 +08:00
|
|
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
2023-02-11 00:44:00 +08:00
|
|
|
},
|
2023-06-21 10:55:37 +08:00
|
|
|
"[typescriptreact]": {
|
|
|
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
2023-02-11 00:44:00 +08:00
|
|
|
},
|
|
|
|
"[html]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[css]": {
|
2023-06-21 10:55:37 +08:00
|
|
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
|
|
|
},
|
|
|
|
"[less]": {
|
2023-02-11 00:44:00 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[scss]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
2023-06-21 10:55:37 +08:00
|
|
|
"[markdown]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
2023-02-11 00:44:00 +08:00
|
|
|
"i18n-ally.localesPaths": ["src/locales"],
|
|
|
|
"i18n-ally.keystyle": "nested",
|
|
|
|
"i18n-ally.sortKeys": true,
|
|
|
|
"i18n-ally.namespace": true,
|
|
|
|
"i18n-ally.enabledParsers": ["ts"],
|
|
|
|
"i18n-ally.sourceLanguage": "en",
|
|
|
|
"i18n-ally.displayLanguage": "zh-CN",
|
|
|
|
"i18n-ally.enabledFrameworks": ["vue", "react"],
|
|
|
|
"god.tsconfig": "./tsconfig.json",
|
2023-04-14 15:15:35 +08:00
|
|
|
"vue-i18n.i18nPaths": "src/locales",
|
|
|
|
"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.*",
|
|
|
|
"CHANGELOG.md": "CHANGELOG*",
|
|
|
|
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc,vite.config.*,windi.*,tailwind.*,tsconfig.*,postcss*",
|
|
|
|
".eslintrc.js": ".eslintignore,.eslintrc-*,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelint*,stylelint*,prettier.*,.editorconfig"
|
|
|
|
}
|
2023-02-11 00:44:00 +08:00
|
|
|
}
|