chore: update golangci-lint

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2021-06-16 03:01:53 +02:00 committed by Márk Sági-Kazár
parent acd965b54e
commit 04ef5fa07d
2 changed files with 20 additions and 3 deletions

View File

@ -16,47 +16,64 @@ linters:
- deadcode
- dogsled
- dupl
- durationcheck
- exhaustive
- exportloopref
- gci
- goconst
- gofmt
- gofumpt
- goimports
- golint
- gomoddirectives
- goprintffuncname
- govet
- importas
- ineffassign
- makezero
- misspell
- nakedret
- nilerr
- noctx
- nolintlint
- prealloc
- predeclared
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
- structcheck
- stylecheck
- tparallel
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace
# fixme
# - cyclop
# - errcheck
# - errorlint
# - exhaustivestruct
# - forbidigo
# - forcetypeassert
# - gochecknoglobals
# - gochecknoinits
# - gocognit
# - gocritic
# - gocyclo
# - godot
# - gofumpt
# - gosec
# - gosimple
# - ifshort
# - lll
# - nlreturn
# - paralleltest
# - scopelint
# - thelper
# - wrapcheck
# unused
# - depguard

View File

@ -16,7 +16,7 @@ endif
# Dependency versions
GOTESTSUM_VERSION = 0.5.3
GOLANGCI_VERSION = 1.31.0
GOLANGCI_VERSION = 1.40.1
# Add the ability to override some variables
# Use with care