Skip to content

Commit ba92f7f

Browse files
committed
disable revive complaining about package names
This seems to be the most ... not terrible way to do it. Doing it with `//nolint` requires line everywhere and then nolintlint complains. Disabling it as a rule of `revive` disables all other rules.
1 parent 5c5bf4c commit ba92f7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ linters:
115115
- linters:
116116
- forbidigo
117117
text: use of `os\.(SyscallError|Signal|Interrupt)` forbidden
118+
- linters:
119+
- revive
120+
text: avoid meaningless package names
118121
paths:
119122
- third_party$
120123
- builtin$

0 commit comments

Comments
 (0)