Skip to content

Commit 17fc89a

Browse files
committed
ci: lint: enable gocritic
1 parent 3c960b4 commit 17fc89a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/lint-golangci-lint.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ linters:
3030
- gochecksumtype
3131
- gocognit
3232
- gocyclo
33+
- gocritic
3334
- godox
3435
- goheader
3536
- gomoddirectives
@@ -51,7 +52,6 @@ linters:
5152
- funlen
5253
- gochecknoglobals
5354
- goconst
54-
- gocritic
5555
- godot
5656
- iface
5757
- importas
@@ -117,6 +117,10 @@ linters:
117117
- all
118118
- -SA5008
119119
- -ST1003
120+
gocritic:
121+
disabled-checks:
122+
- appendAssign
123+
- ifElseChain
120124
exclusions:
121125
generated: lax
122126
presets:

0 commit comments

Comments
 (0)