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
Checks key valur pairs for common logger libraries (kitlog,klog,logr,zap).
style, bugs
v1.49.0
There are two problems:
There is a small typo: "value", not "valur".
The loggercheck linter is not listed when typing the golangci-lint linters version 1.49. Instead, the command lists a logr linter which is not documented at https://golangci-lint.run/usage/linters/.
This seems to be a side effect of #3144, which was merged on Aug 31. Initially I thought that PR was merged before 1.49, but 1.49 was released before on Aug 24. The documentation refers to the new linter name.
Version of golangci-lint
$ golangci-lint versiongolangci-lint has version 1.49.0 built from cc2d97f3 on 2022-08-24T10:24:37Z
Configuration file
Not applicable, this is a documentation issue.
$ cat .golangci.yml
# paste output here
Go environment
Not applicable, this is a documentation issue.
$ go version && go env
# paste output here
Verbose output of running
Not applicable, this is a documentation issue.
$ golangci-lint cache clean
$ golangci-lint run -v
# paste output here
Code example or link to a public repository
Not applicable, this is a documentation issue.
// add your code here
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Welcome
Description of the problem
I am reporting a documentation issue. The list of linters is documented at https://golangci-lint.run/usage/linters/. The list includes "loggercheck":
There are two problems:
golangci-lint linters
version 1.49. Instead, the command lists alogr
linter which is not documented at https://golangci-lint.run/usage/linters/.This seems to be a side effect of #3144, which was merged on Aug 31. Initially I thought that PR was merged before 1.49, but 1.49 was released before on Aug 24. The documentation refers to the new linter name.
Version of golangci-lint
Configuration file
Not applicable, this is a documentation issue.
Go environment
Not applicable, this is a documentation issue.
Verbose output of running
Not applicable, this is a documentation issue.
Code example or link to a public repository
Not applicable, this is a documentation issue.
// add your code here
The text was updated successfully, but these errors were encountered: