Build Tutorial / Build @stack/tutorial (kaniko) (push) Successful in 4m55s
## 背景 design-refs/ 是设计早期阶段的参考素材:mockup/ 是设计册页面的静态帧与 PDF 导出,pinterest/ 是灵感板抓取图。这些内容早已内化为 apps/tutorial 内的设计册页面(design-* 系列),30MB 参考素材不再有查阅价值,随仓库分发徒增克隆体积。 ## 变更内容 - 删除 design-refs/ 整目录(48 个 tracked 文件:mockup 静帧 HTML/PDF/PNG、pinterest 灵感图与 sources.json) - .gitignore 去掉 design-refs/mockup/single*/ 条目(目录已删,规则失效) - biome.json files.includes 去掉 !**/design-refs 排除项(同上) ## 自测结果 - biome format:check 全绿(251 文件,含改动后的 biome.json 单行折叠) - 全仓 grep 无任何代码/配置/文档再引用 design-refs(.gitignore 与 biome.json 两条登记随本次清理) - git status 干净,磁盘上 design-refs/ 已删净 --------- Co-authored-by: cqh963852 <cqh963852@hotmail.com> Reviewed-on: #46
101 lines
2.0 KiB
JSON
101 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": ["**", "!**/.yarn", "!**/dist", "!**/build", "!**/.docusaurus", "!**/.zcode"]
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 100
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"semicolons": "asNeeded"
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"tailwindDirectives": true
|
|
}
|
|
},
|
|
"json": {
|
|
"parser": {
|
|
"allowComments": true
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/e2e/**"],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off",
|
|
"useIterableCallbackReturn": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/learning.css"],
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"noDescendingSpecificity": "off"
|
|
},
|
|
"complexity": {
|
|
"noImportantStyles": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/playground/OutputPanel.tsx", "**/practice/components/ChatPanel.tsx"],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/ch7/TemplateLab.tsx"],
|
|
"linter": {
|
|
"rules": {
|
|
"a11y": {
|
|
"noNoninteractiveTabindex": "off",
|
|
"useAriaPropsSupportedByRole": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/practice/components/KeyModal.tsx"],
|
|
"linter": {
|
|
"rules": {
|
|
"a11y": {
|
|
"noStaticElementInteractions": "off",
|
|
"useKeyWithClickEvents": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|