Skip to content

Commit

Permalink
doc: mirror enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi committed Jul 4, 2024
1 parent e057b27 commit 34c7196
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/website/docs/components/go/golangci-lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ sidebar_position: 1

**Reviewbot** 也使用 **golangci-lint** 来规范 go 代码的编写。

不过,从简化配置以及适配各种场景的角度,`Reviewbot` 本身也引入了一些设计。

### 执行逻辑

从简化配置以及适配结果的角度,执行器有两类核心逻辑:
有两种模式:

- **缺省模式** 如果没有设置 Command, 或者 Command 唯一且为`golangci-lint`, 那么 Args 参数在子命令是`run`的情况下,会做如下检验(其他子命令,不会做处理)

Expand Down

0 comments on commit 34c7196

Please sign in to comment.