Skip to content

Commit

Permalink
golanci-lint: move more deprecated linters to deprecated list
Browse files Browse the repository at this point in the history
Signed-off-by: Raghavendra Talur <[email protected]>
  • Loading branch information
raghavendra-talur committed Nov 14, 2023
1 parent 77c9e5f commit 297ab7b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ linters:
- bidichk
- bodyclose
- cyclop
- deadcode
- decorder
- depguard
- dogsled
Expand All @@ -61,23 +60,20 @@ linters:
- gocyclo
- gofmt
- gofumpt
- golint
- gomnd
- gomodguard
- goprintffuncname
- gosec
- gosimple
- govet
- grouper
- ifshort
- importas
- ineffassign
- interfacebloat
- lll
- logrlint
- maintidx
- makezero
- maligned
- misspell
- nakedret
- nestif
Expand All @@ -91,9 +87,7 @@ linters:
- reassign
- revive
- rowserrcheck
- scopelint
- sqlclosecheck
- structcheck
- stylecheck
- tenv
- testpackage
Expand All @@ -104,7 +98,6 @@ linters:
- unparam
- unused
- usestdlibvars
- varcheck
- wastedassign
- whitespace
- wsl
Expand All @@ -131,7 +124,6 @@ linters:
- ireturn
- nilnil
- nonamedreturns
- nosnakecase
- paralleltest
- promlinter
- staticcheck
Expand All @@ -140,6 +132,13 @@ linters:
- wrapcheck
# deprecated
# golangci-lint linters | awk 'f;/Disabled by your/{f=1}' | cut -d":" -f1 | grep deprecated | cut -d" " -f1 | sort
- deadcode
- exhaustivestruct
- golint
- ifshort
- interfacer
- maligned
- nosnakecase
- scopelint
- structcheck
- varcheck

0 comments on commit 297ab7b

Please sign in to comment.