mirror of
https://github.com/YuleBest/FontMM.git
synced 2026-12-04 03:11:48 +08:00
- 新架构: src/ 模块源 + web/ WebUI (Vite + TS + Material Web MD3) - WebUI: 字体槽位/应用、字体测试(字重/可变字体/字号)、关于页、底部导航、edge-to-edge、跟随系统主题 - 打开 WebUI 时用 opentype.js 解析 FONT/ 字体名称填充卡片 - 打包: preplace/template 两版 + build:only-web (webroot.zip) - 工具链: oxlint/oxfmt/type-check/shellcheck; 移除旧 template/ v1 结构与 CI - 新增 MIT LICENSE
18 lines
585 B
JSON
18 lines
585 B
JSON
{
|
|
// 官方推荐: https://oxc.rs/docs/guide/usage/linter/editors.html
|
|
// https://oxc.rs/docs/guide/usage/formatter/editors.html
|
|
// 使用 Oxc 扩展 (oxlint --lsp / oxfmt --lsp), 需本地安装 oxlint 与 oxfmt
|
|
"editor.defaultFormatter": "oxc.oxc-vscode",
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.oxc": "always"
|
|
},
|
|
// 显式指定 JavaScript/TypeScript 由 oxfmt 格式化
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
}
|
|
}
|