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

View file

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