Skip to content

Commit

Permalink
Address golangci-lint linter deprecation warnings
Browse files Browse the repository at this point in the history
1.59.0 outputs:

WARN [lintersdb] The name "gas" is deprecated. The linter has been renamed to: gosec.
WARN [lintersdb] The linter named "megacheck" is deprecated. It has been split into: gosimple, staticcheck, unused.
  • Loading branch information
scop committed Jun 1, 2024
1 parent 8003b74 commit 157d0ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ linters:
- errcheck
#- exhaustive
#- funlen
- gas
#- gochecknoinits
- goconst
- gocritic
Expand All @@ -35,19 +34,18 @@ linters:
- goimports
#- gomnd
#- goprintffuncname
#- gosec
- gosec
- gosimple
- govet
- ineffassign
#- lll
- megacheck
#- misspell
#- nakedret
#- noctx
#- nolintlint
#- rowserrcheck
#- scopelint
#- staticcheck
- staticcheck
#- structcheck ! deprecated since v1.49.0; replaced by 'unused'
- stylecheck
#- typecheck
Expand Down

0 comments on commit 157d0ef

Please sign in to comment.