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
env:
GO_VERSION: stable
GOLANGCI_LINT_VERSION: v1.56.2
GOLANGCI_LINT_VERSION: v1.59.0
SEIHON_VERSION: v0.9.0
CGO_ENABLED: 0

View File

@ -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