diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6776832..107e8cf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index 7fc48b8..871155f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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