mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
fix(golangci-lint): false positive and remove deprecated exportloopref linter
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user