Skip to content

Commit 59b5481

Browse files
committed
ci: configure revive new varname check
Signed-off-by: Marco Nenciarini <[email protected]>
1 parent 17ff26a commit 59b5481

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ linters:
6060
- staticcheck
6161
path: api/
6262
text: 'ST1016:'
63+
- linters:
64+
- revive
65+
path: internal/cnpgi/common/
66+
text: avoid meaningless package names
6367
paths:
6468
- zz_generated.*
6569
- internal/operator/controller/suite_test.go

0 commit comments

Comments
 (0)