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 golangci-lint's default excluded issues #73

Merged

Commits on Nov 21, 2021

  1. Disable golangci-lint's default excluded issues

    By default golangci-lint [2] excludes specific issues (matches) that are
    known to be "annoying", but this also included issues explicitly enabled
    by this template, e.g. the revive [3] rule to check that exported
    function and methods always have a comment [4].
    To prevent these issues to be found the default excludes have been
    disabled through the `issues.exclude-use-default` configuration field.
    
    [1]: https://golangci-lint.run/usage/configuration/#config-file
    [2]: https://golangci-lint.run
    [3]: https://github.com/mgechev/revive
    [4]: https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#exported
    
    GH-72
    svengreb committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    3bf0998 View commit details
    Browse the repository at this point in the history