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

View File

@@ -6,6 +6,10 @@ linters-settings:
- prefix(github.com/gotenberg/gotenberg/v8) - prefix(github.com/gotenberg/gotenberg/v8)
skip-generated: true skip-generated: true
custom-order: true custom-order: true
# Until https://github.com/securego/gosec/issues/1187 is resolved.
gosec:
excludes:
- G115
linters: linters:
disable-all: true disable-all: true
@@ -19,10 +23,10 @@ linters:
- dupl - dupl
- dupword - dupword
- durationcheck - durationcheck
- copyloopvar
- errcheck - errcheck
- errname - errname
- exhaustive - exhaustive
- exportloopref
- gci - gci
- gofmt - gofmt
- goimports - goimports