chore: update linter
This commit is contained in:
parent
ca6eb2f04a
commit
3c7141923c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user