diff --git a/.drone.yml b/.drone.yml index 827ef77ab..e3b1bca95 100644 --- a/.drone.yml +++ b/.drone.yml @@ -139,7 +139,7 @@ steps: event: [ push, tag, pull_request ] - name: api-lint - image: golangci/golangci-lint:v1.57.2 + image: golangci/golangci-lint:v1.59.1 pull: always environment: GOPROXY: 'https://goproxy.kolaente.de' @@ -1400,6 +1400,6 @@ steps: - failure --- kind: signature -hmac: 51f45f4ec5841995b2e4104749f9484cb2a26e9bef84087f79032d2c09e2ec98 +hmac: 74414af8fe9d632c1620090f562b3acd32863b38da230fb1854b8bed45055feb ... diff --git a/.golangci.yml b/.golangci.yml index a0dcb7b80..28e5b157e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,7 +8,7 @@ linters: - govet - gocritic - gocyclo - - goerr113 + - err113 - goheader - gofmt - goimports @@ -55,7 +55,7 @@ issues: - path: pkg/migration/* linters: - exhaustive - - goerr113 + - err113 - path: pkg/models/task_collection_filter\.go linters: - exhaustive @@ -65,11 +65,11 @@ issues: - gosec - path: pkg/modules/dump/* linters: - - goerr113 + - err113 - path: pkg/ - text: "err113: do not define dynamic errors, use wrapped static errors instead:" + text: "do not define dynamic errors, use wrapped static errors instead:" linters: - - goerr113 + - err113 - text: "commentFormatting: put a space between `//` and comment text" linters: - gocritic