mirror of
https://github.com/VirtualHotBar/NetMount.git
synced 2026-05-06 13:20:59 +08:00
引入存储库模式解耦全局状态管理,增强类型安全性 添加常量定义文件集中管理魔术字符串 重构多处类型不安全的代码为类型安全实现 添加husky和lint-staged配置实现代码提交前自动格式化
9 lines
263 B
JSON
9 lines
263 B
JSON
{
|
|
"*.ts": ["eslint --fix", "prettier --write"],
|
|
"*.tsx": ["eslint --fix", "prettier --write"],
|
|
"*.js": ["eslint --fix", "prettier --write"],
|
|
"*.jsx": ["eslint --fix", "prettier --write"],
|
|
"*.json": ["prettier --write"],
|
|
"*.md": ["prettier --write"]
|
|
}
|