Skip to content

Commit d56f42f

Browse files
committed
Disable noctx/deep-exit in *cmd*
Signed-off-by: Thomas Stromberg <[email protected]>
1 parent 8f846e1 commit d56f42f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,15 @@ issues:
180180
- gosec
181181
- noctx
182182

183-
- path: cmd.*
183+
- path: .*cmd.*
184184
linters:
185185
- noctx
186186

187187
- path: main\.go
188188
linters:
189189
- noctx
190190

191-
- path: cmd.*
191+
- path: .*cmd.*
192192
text: "deep-exit"
193193

194194
- path: main\.go

0 commit comments

Comments
 (0)