You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I get the below warn. Seems that maligned linter is deprecated.
level=warning msg="[runner] The linter 'maligned' is deprecated due to: The repository of the linter has been archived by the owner. Use govet 'fieldalignment' instead."
$ go versiongo version go1.15.8 linux/amd64
$ # ignore the "config/config.go:51:18 ... " error. Focus on "level=warning ... " line.
$ ./.github/run-tests-merge.sh...- Lint check (golangci-lint) ... NG level=warning msg="[runner] The linter 'maligned' is deprecated due to: The repository of the linter has been archived by the owner. Use govet 'fieldalignment' instead." config/config.go:51:18: fieldalignment: struct with 80 pointer bytes could be 72 (govet) type TConfigFile struct { ^ References for debugging lint error: wsl : https://github.com/bombsimon/wsl/blob/master/doc/rules.md gofumpt : https://github.com/mvdan/gofumpt#added-rules * for other lint errors see: https://golangci-lint.run/usage/linters/
The line which is causing the warning is the below in ./.github/golangci.yml. See the line 62.
$ # ignore the "config/config.go:51:18 ... " error.
$ # Focus that "level=warning ... " line is not shown any more.
$ ./.github/run-tests-merge.sh...- Lint check (golangci-lint) ... NG config/config.go:51:18: fieldalignment: struct with 80 pointer bytes could be 72 (govet) type TConfigFile struct { ^ References for debugging lint error: wsl : https://github.com/bombsimon/wsl/blob/master/doc/rules.md gofumpt : https://github.com/mvdan/gofumpt#added-rules * for other lint errors see: https://golangci-lint.run/usage/linters/
Currently I get the below warn. Seems that
maligned
linter is deprecated.level=warning msg="[runner] The linter 'maligned' is deprecated due to: The repository of the linter has been archived by the owner. Use govet 'fieldalignment' instead."
The line which is causing the warning is the below in
./.github/golangci.yml
. See the line 62.Hello-Cobra/.github/golangci.yml
Lines 41 to 82 in 85c5321
By removing
maligned
did fix the problem.- lll - - maligned - megacheck # gosimple, staticcheck, unused
fieldalignment
as replacement #1765" Deprecate maligned, add govetfieldalignment
as replacement golangci/golangci-lint#1765The text was updated successfully, but these errors were encountered: