251 lines
6.4 KiB
Plaintext
251 lines
6.4 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"name": "Root",
|
|
"path": "."
|
|
},
|
|
{
|
|
"name": "LCDP",
|
|
"path": "./apps/lcdp"
|
|
},
|
|
{
|
|
"name": "Form Designer",
|
|
"path": "./packages/form-designer"
|
|
},
|
|
{
|
|
"name": "Form Create",
|
|
"path": "./packages/form-create"
|
|
},
|
|
{
|
|
"name": "Lowcode Create",
|
|
"path": "./packages/lowcode-create"
|
|
},
|
|
{
|
|
"name": "Business Components",
|
|
"path": "./packages/business-components"
|
|
},
|
|
{
|
|
"name": "Core Utils",
|
|
"path": "./packages/core-utils"
|
|
},
|
|
{
|
|
"name": "AI Agents",
|
|
"path": "./packages/ai-agents"
|
|
},
|
|
{
|
|
"name": "Business Module",
|
|
"path": "./packages/business-module"
|
|
},
|
|
{
|
|
"name": "Types",
|
|
"path": "./packages/types"
|
|
},
|
|
{
|
|
"name": "Widget Mobile",
|
|
"path": "./packages/widget-mobile"
|
|
}
|
|
],
|
|
"settings": {
|
|
"explorer.fileNesting.enabled": true,
|
|
"explorer.fileNesting.patterns": {
|
|
"tsconfig.json": "tsconfig.*.json, env.d.ts",
|
|
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*, uno.config.*, .eslint*, eslint*, .prettier*, prettier*, commitlint.*",
|
|
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .editorconfig, .npmrc, .nvmrc",
|
|
".env": ".env.*"
|
|
},
|
|
"editor.tabSize": 2,
|
|
"editor.insertSpaces": true,
|
|
"files.eol": "\n",
|
|
"files.encoding": "utf8",
|
|
"files.insertFinalNewline": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"prettier.enable": false,
|
|
"editor.formatOnSave": false,
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
// Auto fix
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
"eslint.rules.customizations": [
|
|
{
|
|
"rule": "style/*",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-indent",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-spacing",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-spaces",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-order",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-dangle",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*-newline",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*quotes",
|
|
"severity": "off",
|
|
"fixable": true
|
|
},
|
|
{
|
|
"rule": "*semi",
|
|
"severity": "off",
|
|
"fixable": true
|
|
}
|
|
],
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"vue",
|
|
"html",
|
|
"markdown",
|
|
"json",
|
|
"jsonc",
|
|
"yaml",
|
|
"toml",
|
|
"xml",
|
|
"gql",
|
|
"graphql",
|
|
"astro",
|
|
"svelte",
|
|
"css",
|
|
"less",
|
|
"scss",
|
|
"pcss",
|
|
"postcss"
|
|
],
|
|
"cSpell.words": [
|
|
"cisdi",
|
|
"iconfont",
|
|
"lingshu"
|
|
],
|
|
"typescript.tsdk": "node_modules/typescript/lib",
|
|
"i18n-ally.localesPaths": [
|
|
"apps/lcdp/src/locales/model",
|
|
"packages/form-designer/src/locales/model",
|
|
"packages/form-designer/src/config/locales/model"
|
|
],
|
|
"i18n-ally.namespace": false,
|
|
"i18n-ally.pathMatcher": "{namespace}.{ext}",
|
|
"i18n-ally.keystyle": "nested",
|
|
"i18n-ally.enabledParsers": ["ts", "js", "json"],
|
|
"i18n-ally.encoding": "utf-8",
|
|
"i18n-ally.sourceLanguage": "zh-CN",
|
|
"i18n-ally.displayLanguage": "zh-CN",
|
|
// search
|
|
"search.searchEditor.singleClickBehaviour": "peekDefinition",
|
|
"search.followSymlinks": false,
|
|
// 在使用搜索功能时,将这些文件夹/文件排除在外
|
|
"search.exclude": {
|
|
"**/node_modules": true,
|
|
"**/*.log": true,
|
|
"**/*.log*": true,
|
|
"**/bower_components": true,
|
|
"**/dist": true,
|
|
"**/elehukouben": true,
|
|
"**/.git": true,
|
|
"**/.github": true,
|
|
"**/.gitignore": true,
|
|
"**/.svn": true,
|
|
"**/.DS_Store": true,
|
|
"**/.vitepress/cache": true,
|
|
"**/.idea": true,
|
|
"**/.vscode": false,
|
|
"**/.yarn": true,
|
|
"**/tmp": true,
|
|
"*.xml": true,
|
|
"out": true,
|
|
"dist": true,
|
|
"node_modules": true,
|
|
"CHANGELOG.md": true,
|
|
"**/pnpm-lock.yaml": true,
|
|
"**/yarn.lock": true
|
|
},
|
|
"files.exclude": {
|
|
"**/.eslintcache": true,
|
|
"**/bower_components": true,
|
|
"**/.turbo": true,
|
|
"**/.idea": true,
|
|
"**/.vitepress": true,
|
|
"**/tmp": true,
|
|
"**/.git": true,
|
|
"**/.svn": true,
|
|
"**/.hg": true,
|
|
"**/CVS": true,
|
|
"**/.stylelintcache": true,
|
|
"**/.DS_Store": true,
|
|
"**/vite.config.mts.*": true,
|
|
"**/tea.yaml": 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
|
|
},
|
|
// TypeScript 优化设置
|
|
"typescript.preferences.includePackageJsonAutoImports": "off",
|
|
// "typescript.suggest.autoImports": false,
|
|
"typescript.disableAutomaticTypeAcquisition": true,
|
|
"typescript.workspaceSymbols.scope": "currentProject",
|
|
"typescript.tsc.autoDetect": "off",
|
|
"typescript.suggest.includeCompletionsForImportStatements": false,
|
|
// 限制 TypeScript 服务只处理当前工作区
|
|
"typescript.preferences.maxInlayHintLength": 30,
|
|
"typescript.tsserver.maxTsServerMemory": 6144,
|
|
"typescript.tsserver.useSeparateSyntaxServer": true,
|
|
// 进一步优化 TypeScript 服务器性能
|
|
// "typescript.tsserver.experimental.enableProjectDiagnostics": false,
|
|
"typescript.tsserver.watchOptions": {
|
|
"watchFile": "useFsEvents",
|
|
"watchDirectory": "useFsEvents",
|
|
"excludeDirectories": [
|
|
"**/node_modules",
|
|
"**/dist",
|
|
"**/.turbo",
|
|
"**/coverage"
|
|
]
|
|
},
|
|
// "typescript.suggest.completeFunctionCalls": false,
|
|
// "typescript.suggest.enabled": false,
|
|
"vitest.disableWorkspaceWarning": true
|
|
},
|
|
"extensions": {
|
|
"recommendations": [
|
|
"Vue.volar",
|
|
"vitest.explorer",
|
|
"dbaeumer.vscode-eslint",
|
|
"antfu.unocss",
|
|
"redjue.git-commit-plugin",
|
|
"lokalise.i18n-ally"
|
|
]
|
|
}
|
|
}
|