Skip to content

Commit e2d8ab3

Browse files
committed
docs(feature): 支持通过暂存区获取待lint的文件
1 parent bbb1ffa commit e2d8ab3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ npm i -g code-genius
1818

1919
## 终端命令
2020

21-
| 命令 | 参数 | 功能描述 |
22-
| ------ | ------------------------------------ | ---------------------------------------------- |
23-
| cm | --noEmoji | 帮助生成规范的 git 提交内容 |
24-
| cmv | -- | 帮助验证 git commit 的内容是否符合规范 |
25-
| cup | --ignore \<path\> | 清理运行时生成的文件 |
26-
| ihooks | -- | 使用且有修改 simple-git-hooks 后需要重新初始化 |
27-
| run | -- | 运行列出的脚本 |
28-
| lint | --eslintrc \<file\>, --path \<path\> | 检查代码并尝试修复 |
21+
| 命令 | 参数 | 功能描述 |
22+
| ------ | ---------------------------------------------- | ---------------------------------------------- |
23+
| cm | --noEmoji | 帮助生成规范的 git 提交内容 |
24+
| cmv | -- | 帮助验证 git commit 的内容是否符合规范 |
25+
| cup | --ignore \<path\> | 清理运行时生成的文件 |
26+
| ihooks | -- | 使用且有修改 simple-git-hooks 后需要重新初始化 |
27+
| run | -- | 运行列出的脚本 |
28+
| lint | --eslintrc \<file\>, --path \<path\>, --staged | 检查代码并尝试修复 |
2929

3030
## API
3131

0 commit comments

Comments
 (0)