chore: update linter

This commit is contained in:
Fernandez Ludovic 2021-07-09 10:46:58 +02:00
parent ca6eb2f04a
commit 3c7141923c
2 changed files with 9 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
GO_VERSION: 1.16 GO_VERSION: 1.16
GOLANGCI_LINT_VERSION: v1.38.0 GOLANGCI_LINT_VERSION: v1.41.1
SEIHON_VERSION: v0.8.3 SEIHON_VERSION: v0.8.3
CGO_ENABLED: 0 CGO_ENABLED: 0

View File

@ -42,10 +42,18 @@ linters-settings:
- '^print(ln)?$' - '^print(ln)?$'
- '^spew\.Print(f|ln)?$' - '^spew\.Print(f|ln)?$'
- '^spew\.Dump$' - '^spew\.Dump$'
gomoddirectives:
replace-allow-list:
- github.com/abbot/go-http-auth
- github.com/go-check/check
- github.com/gorilla/mux
- github.com/mailgun/minheap
- github.com/mailgun/multibuf
linters: linters:
enable-all: true enable-all: true
disable: disable:
- golint # deprecated
- scopelint # deprecated - scopelint # deprecated
- interfacer # deprecated - interfacer # deprecated
- maligned # deprecated - maligned # deprecated