feat: 在 NestJS 规范中添加 Model 文件匹配模式说明

This commit is contained in:
Lyda
2026-02-02 11:21:10 +08:00
parent 01049bc24a
commit 30ec00df9e
2 changed files with 3 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
## 常量名使用大写加下划线命名UPPER_CASE单词间以下划线分隔 `[JsTs.Base.ConstUpperCase]`
- 不检查 nodejs 的导包定义,比如 `const fs = require("fs")`
- 常量检查只需检查 `const` 声明的静态值,但是不包含对象和函数
### Good
@@ -54,10 +55,6 @@ function getuserinfo() {
```javascript
const MAX_COUNT = 100;
const USER_STATUS = {
ACTIVE: "active",
INACTIVE: "inactive",
};
```
### Bad