chore: update linter
This commit is contained in:
parent
2d6d95b809
commit
21c8f5fa9c
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO_VERSION: stable
|
||||
GOLANGCI_LINT_VERSION: v1.56.2
|
||||
GOLANGCI_LINT_VERSION: v1.59.0
|
||||
SEIHON_VERSION: v0.9.0
|
||||
CGO_ENABLED: 0
|
||||
|
||||
|
||||
@ -64,17 +64,8 @@ linters-settings:
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- scopelint # deprecated
|
||||
- interfacer # deprecated
|
||||
- maligned # deprecated
|
||||
- golint # deprecated
|
||||
- exhaustivestruct # deprecated
|
||||
- scopelint # deprecated
|
||||
- varcheck # deprecated
|
||||
- structcheck # deprecated
|
||||
- nosnakecase # deprecated
|
||||
- deadcode # deprecated
|
||||
- ifshort # deprecated
|
||||
- gomnd # deprecated
|
||||
- execinquery # deprecated
|
||||
- sqlclosecheck # not relevant (SQL)
|
||||
- rowserrcheck # not relevant (SQL)
|
||||
- cyclop # duplicate of gocyclo
|
||||
@ -83,11 +74,11 @@ linters:
|
||||
- prealloc
|
||||
- wsl
|
||||
- nlreturn
|
||||
- gomnd
|
||||
- mnd
|
||||
- testpackage
|
||||
- paralleltest
|
||||
- tparallel
|
||||
- goerr113
|
||||
- err113
|
||||
- wrapcheck
|
||||
- exhaustive
|
||||
- exhaustruct
|
||||
|
||||
Loading…
Reference in New Issue
Block a user