mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
chore(workspace): refine editor and formatting setup
This commit is contained in:
1 parent
6e4af0a798
commit
8ae3e42e4f
7 files changed
+39
-28
No files matched your search
@@ -1,15 +0,0 @@
|
||||
# 程序配置
|
||||
## 程序名称
|
||||
MAIN_VITE_TITLE="ChatLab"
|
||||
# 全局 API 配置
|
||||
MAIN_VITE_SERVER_API=127.0.0.1
|
||||
|
||||
# 浏览器环境
|
||||
RENDERER_VITE_SERVER_URL=
|
||||
|
||||
# 程序信息
|
||||
RENDERER_VITE_SITE_TITLE="重构你的社交记忆"
|
||||
RENDERER_VITE_SITE_KEYWORDS=""
|
||||
RENDERER_VITE_SITE_DES=""
|
||||
RENDERER_VITE_SITE_URL=""
|
||||
RENDERER_VITE_SITE_LOGO="/assets/images/favicon.ico"
|
||||
@@ -19,6 +19,7 @@ error-log-*.txt
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/snippets.code-snippets
|
||||
!.vscode/extensions.json
|
||||
|
||||
# Project
|
||||
dist/
|
||||
|
||||
@@ -2,6 +2,4 @@ out
|
||||
dist
|
||||
pnpm-lock.yaml
|
||||
LICENSE
|
||||
tsconfig.json
|
||||
tsconfig.*.json
|
||||
docs/**/*.md
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"Vue.volar",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"lokalise.i18n-ally",
|
||||
"rust-lang.rust-analyzer",
|
||||
"tamasfe.even-better-toml"
|
||||
]
|
||||
}
|
||||
Vendored
+26
-1
@@ -3,5 +3,30 @@
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.pathMatcher": "{locale}/{namespaces}.json",
|
||||
"i18n-ally.sourceLanguage": "zh-CN"
|
||||
"i18n-ally.sourceLanguage": "zh-CN",
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"[javascript][javascriptreact][typescript][typescriptreact][vue]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
}
|
||||
},
|
||||
"[json][jsonc]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"rust-analyzer.checkOnSave": true,
|
||||
"rust-analyzer.check.command": "clippy",
|
||||
"rust-analyzer.check.extraArgs": ["--tests"],
|
||||
"[rust]": {
|
||||
"editor.defaultFormatter": "rust-lang.rust-analyzer",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"[toml]": {
|
||||
"editor.defaultFormatter": "tamasfe.even-better-toml",
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"evenBetterToml.formatter.reorderArrays": false
|
||||
}
|
||||
@@ -10,10 +10,5 @@
|
||||
"../../packages/core/src/**/*.ts",
|
||||
"../../packages/tools/src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"**/__tests__/**",
|
||||
"**/*.test.ts",
|
||||
"**/*.spec.ts",
|
||||
"src/bin.ts"
|
||||
]
|
||||
"exclude": ["**/__tests__/**", "**/*.test.ts", "**/*.spec.ts", "src/bin.ts"]
|
||||
}
|
||||
+1
-4
@@ -8,8 +8,5 @@
|
||||
}
|
||||
},
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./tsconfig.node.json" },
|
||||
{ "path": "./apps/desktop/tsconfig.node.json" }
|
||||
]
|
||||
"references": [{ "path": "./tsconfig.node.json" }, { "path": "./apps/desktop/tsconfig.node.json" }]
|
||||
}
|
||||
Reference in new issue
Block a user