- 添加首页背景图片资源 (home-bg.webp) - 更新用户头像资源文件 (ydzx.png) - 优化竞赛布局组件交互体验 - 改进题目渲染器显示效果 - 更新题库数据:新增诗词常识题库 - 移除联想对对碰题库 - 更新汉字听写、诗词理解选择题、逆向接诗句等题库内容 - 调整VSCode配置并禁用MCP代理功能
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
// 1. 禁用原生格式化,避免冲突
|
|
"editor.formatOnSave": false,
|
|
|
|
// 2. 核心配置:保存时触发 ESLint 修复动作
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": "explicit",
|
|
"source.organizeImports": "never"
|
|
},
|
|
|
|
// 3. 必须:强制所有相关文件使用 ESLint 插件作为格式化器
|
|
"[vue]": {
|
|
"editor.defaultFormatter": "Vue.volar"
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
|
},
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
|
|
},
|
|
|
|
// 4. 必须:显式声明需要校验的文件类型
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"typescript",
|
|
"vue",
|
|
"html",
|
|
"json",
|
|
"jsonc"
|
|
],
|
|
|
|
// 5. 必须:指定工作区目录(让 Windsurf 知道去哪里加载每个包的配置)
|
|
"eslint.workingDirectories": [
|
|
{ "mode": "auto" },
|
|
"./apps/admin",
|
|
"./apps/user",
|
|
"./packages/eslint-config"
|
|
],
|
|
"totvsLanguageServer.welcomePage": false,
|
|
"cSpell.words": [
|
|
"activityinfo",
|
|
"Echarts",
|
|
"Typeit"
|
|
],
|
|
"kiroAgent.configureMCP": "Disabled" // `
|
|
}
|