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

Remove nolint annotations for unix errno comparisons #203

Merged
merged 1 commit into from
Aug 25, 2023

Commits on Aug 25, 2023

  1. Remove nolint annotations for unix errno comparisons

    golangci-lint v1.54.2 comes with errorlint v1.4.4, which contains
    the fix [1] whitelisting all errno comparisons for errors coming from
    x/sys/unix. Thus, these annotations are no longer necessary. Remove
    those.
    
    Except, the errors that do not come directly from a function in unix
    package still need to be annotated (see [2]).
    
    [1] polyfloyd/go-errorlint#47
    [2] polyfloyd/go-errorlint#55
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    5ab22c5 View commit details
    Browse the repository at this point in the history