Skip to content
New issue

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

Disable "errorlint" to prevent false-positive errors #40

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

svengreb
Copy link
Owner

Resolves #39

In GH-21 [1] "golangci-lint" was updated to the currently latest version
1.32.0 [2] which introduced the errorlint [3] that has been enabled for
this template repository. As it turns out it causes a lot of
false-positives errors for code lines that explicitly do not wrap the
error to prevent it become part of the public API.
Therefore the linter has been disabled again because the update also
introduced the new wrapcheck [4] linter which helps to prevent that
errors from external packages are exposed to the public API.

[1]: #21
[2]: https://github.com/golangci/golangci-lint/releases/tag/v1.32.0
[3]: https://github.com/polyfloyd/go-errorlint
[4]: https://github.com/tomarrell/wrapcheck

GH-39
@svengreb svengreb added this to the Next milestone Nov 16, 2020
@svengreb svengreb self-assigned this Nov 16, 2020
@svengreb svengreb merged commit 28f888a into main Nov 16, 2020
@svengreb svengreb deleted the improvement/gh-39-disable-errorlint branch November 16, 2020 13:59
@svengreb svengreb removed their assignment Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable "errorlint" to prevent false-positive errors
1 participant