We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some important linters are missing which could:
add the following linters:
durationcheck
errorlint
forbidigo
forcetypeassert
goconst
gocyclo
gomnd
gosec
prealloc
typecheck
The text was updated successfully, but these errors were encountered:
ci(lint): add errorlint
70e6aeb
Add https://github.com/polyfloyd/go-errorlint to find code that will cause problems with Go's error wrapping scheme. This is partial implementation of aiven#858.
e389ac1
It looks like forcetypeassert is not needed: it's not developed anymore, and the same functionality is provided by errcheck.
errcheck
Sorry, something went wrong.
No branches or pull requests
What is currently missing?
some important linters are missing which could:
How could this be improved?
add the following linters:
durationcheck
(check for two durations multiplied together)errorlint
(errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13.)forbidigo
(Forbids identifiers)forcetypeassert
(finds forced type assertions)goconst
(Finds repeated strings that could be replaced by a constant)gocyclo
(Computes and checks the cyclomatic complexity of functions)gomnd
(An analyzer to detect magic numbers.)gosec
(Inspects source code for security problems)prealloc
(Finds slice declarations that could potentially be pre-allocated)typecheck
(Like the front-end of a Go compiler, parses and type-checks Go code)Is this a feature you would work on yourself?
The text was updated successfully, but these errors were encountered: