fix(golangci-lint): false positive and remove deprecated exportloopref linter

This commit is contained in:
Julien Neuhart
2024-09-03 09:59:40 +02:00
parent 16cf02896f
commit da8eeb5d8f
+5 -1
View File
@@ -6,6 +6,10 @@ linters-settings:
- prefix(github.com/gotenberg/gotenberg/v8)
skip-generated: true
custom-order: true
# Until https://github.com/securego/gosec/issues/1187 is resolved.
gosec:
excludes:
- G115
linters:
disable-all: true
@@ -19,10 +23,10 @@ linters:
- dupl
- dupword
- durationcheck
- copyloopvar
- errcheck
- errname
- exhaustive
- exportloopref
- gci
- gofmt
- goimports