chore: update linter

This commit is contained in:
Fernandez Ludovic 2024-05-29 06:03:00 +02:00
parent 2d6d95b809
commit 21c8f5fa9c
2 changed files with 5 additions and 14 deletions

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
GO_VERSION: stable GO_VERSION: stable
GOLANGCI_LINT_VERSION: v1.56.2 GOLANGCI_LINT_VERSION: v1.59.0
SEIHON_VERSION: v0.9.0 SEIHON_VERSION: v0.9.0
CGO_ENABLED: 0 CGO_ENABLED: 0

View File

@ -64,17 +64,8 @@ linters-settings:
linters: linters:
enable-all: true enable-all: true
disable: disable:
- scopelint # deprecated - gomnd # deprecated
- interfacer # deprecated - execinquery # deprecated
- maligned # deprecated
- golint # deprecated
- exhaustivestruct # deprecated
- scopelint # deprecated
- varcheck # deprecated
- structcheck # deprecated
- nosnakecase # deprecated
- deadcode # deprecated
- ifshort # deprecated
- sqlclosecheck # not relevant (SQL) - sqlclosecheck # not relevant (SQL)
- rowserrcheck # not relevant (SQL) - rowserrcheck # not relevant (SQL)
- cyclop # duplicate of gocyclo - cyclop # duplicate of gocyclo
@ -83,11 +74,11 @@ linters:
- prealloc - prealloc
- wsl - wsl
- nlreturn - nlreturn
- gomnd - mnd
- testpackage - testpackage
- paralleltest - paralleltest
- tparallel - tparallel
- goerr113 - err113
- wrapcheck - wrapcheck
- exhaustive - exhaustive
- exhaustruct - exhaustruct