lint: remove deprecated linters (#3686)

This commit is contained in:
Caleb Doxsey 2022-10-19 13:52:03 -06:00 committed by GitHub
parent ec495bb682
commit 61506c11b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,6 @@ linters:
disable-all: true disable-all: true
enable: enable:
- bodyclose - bodyclose
- deadcode
- depguard - depguard
- dogsled - dogsled
- errcheck - errcheck
@ -63,37 +62,11 @@ linters:
- nakedret - nakedret
- nolintlint - nolintlint
- revive - revive
- rowserrcheck
- staticcheck - staticcheck
- structcheck
- stylecheck - stylecheck
- typecheck - typecheck
- unconvert - unconvert
- unused - unused
- varcheck
# - asciicheck
# - dupl
# - exhaustive
# - funlen
# - gochecknoglobals
# - gochecknoinits
# - gocognit
# - goconst
# - gocritic
# - gocyclo
# - godot
# - godox
# - goerr113
# - gomnd
# - interfacer
# - maligned
# - nestif
# - noctx
# - prealloc
# - scopelint
# - testpackage
# - whitespace
# - wsl
issues: issues:
exclude-use-default: false exclude-use-default: false
@ -187,8 +160,3 @@ issues:
- text: "G112:" - text: "G112:"
linters: linters:
- gosec - gosec
# golangci.com configuration
# https://github.com/golangci/golangci/wiki/Configuration
service:
golangci-lint-version: 1.34.x # use the fixed version to not introduce new linters unexpectedly