chore: 初始化仓库

This commit is contained in:
Lydanne
2026-02-15 22:02:21 +08:00
commit 08d011d63f
381 changed files with 87202 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# 自定义框架配置:匹配 @spaceflow/core 导出的 t() 函数
languageIds:
- typescript
# 匹配 t("key") 和 t("namespace:key") 调用
usageMatchRegex:
- "\\Wt\\(\\s*['\"`]({key})['\"`]"
# 提取模板
refactorTemplates:
- "t('$1')"
# 启用 namespace使用 : 作为分隔符
namespace: true
namespaceDelimiter: ":"