Skip to content

Commit 5afecab

Browse files
committed
ci: relax golangci-lint rules about package names
This rule has been introduced in an update and current code base doesn't conform to it. Refactoring utility functions to different packages doesn't make sense at this moment. Signed-off-by: Szymon Soloch <[email protected]>
1 parent da454e2 commit 5afecab

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
@@ -82,6 +82,10 @@ linters:
8282
- revive
8383
text: should not use dot imports
8484
source: ginkgo|gomega
85+
# Allow packages like helpers or utils.
86+
- linters:
87+
- revive
88+
text: avoid meaningless package names
8589
# Exclude some linters from running on tests files.
8690
- linters:
8791
- goconst

0 commit comments

Comments
 (0)