mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-24 02:25:24 +00:00
Remove deprecated linters from golangci-lint (#2009)
When running lints, golangci-lint complained about removed linters (which were already disabled). This removes the relevant warnings.
This commit is contained in:
parent
3f60ab23a6
commit
74d27ee5fa
@ -12,19 +12,13 @@ linters:
|
|||||||
disable:
|
disable:
|
||||||
- depguard
|
- depguard
|
||||||
|
|
||||||
- exhaustivestruct
|
|
||||||
- revive
|
- revive
|
||||||
- lll
|
- lll
|
||||||
- interfacer
|
|
||||||
- scopelint
|
|
||||||
- maligned
|
|
||||||
- golint
|
|
||||||
- gofmt
|
- gofmt
|
||||||
- gochecknoglobals
|
- gochecknoglobals
|
||||||
- gochecknoinits
|
- gochecknoinits
|
||||||
- gocognit
|
- gocognit
|
||||||
- funlen
|
- funlen
|
||||||
- exhaustivestruct
|
|
||||||
- tagliatelle
|
- tagliatelle
|
||||||
- godox
|
- godox
|
||||||
- ireturn
|
- ireturn
|
||||||
@ -34,13 +28,6 @@ linters:
|
|||||||
- musttag # causes issues with imported libs
|
- musttag # causes issues with imported libs
|
||||||
- depguard
|
- depguard
|
||||||
|
|
||||||
# deprecated
|
|
||||||
- structcheck # replaced by unused
|
|
||||||
- ifshort # deprecated by the owner
|
|
||||||
- varcheck # replaced by unused
|
|
||||||
- nosnakecase # replaced by revive
|
|
||||||
- deadcode # replaced by unused
|
|
||||||
|
|
||||||
# We should strive to enable these:
|
# We should strive to enable these:
|
||||||
- wrapcheck
|
- wrapcheck
|
||||||
- dupl
|
- dupl
|
||||||
|
Loading…
Reference in New Issue
Block a user