mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-31 23:58:03 +08:00
Update golint to revive
Resolves the following message in golangci output: > The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive. Additionally, fix a minor linting issue discovered by revive. Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
@@ -18,7 +18,7 @@ linters:
|
||||
- misspell
|
||||
- unused
|
||||
- varcheck
|
||||
- golint
|
||||
- revive
|
||||
- staticcheck
|
||||
- typecheck
|
||||
- structcheck
|
||||
@@ -36,5 +36,5 @@ linters-settings:
|
||||
issues:
|
||||
exclude-rules:
|
||||
- linters:
|
||||
- golint
|
||||
- revive
|
||||
text: "stutters"
|
||||
|
Reference in New Issue
Block a user