Skip to content

Commit 6e77b39

Browse files
committed
validate: Exclude G114-gosec - Use of net/http serve function that has no support for setting timeouts
1 parent 219a756 commit 6e77b39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ linters:
99
- govet
1010
- ineffassign
1111
- misspell
12+
exclusions:
13+
rules:
14+
- path: 'main.go'
15+
text: 'G114: Use of net/http serve function that has no support for setting timeouts'
1216
formatters:
1317
enable:
1418
- gofmt

0 commit comments

Comments
 (0)