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

README.md: Doc sec tag disabled, fails if enabled #1202

Merged
merged 1 commit into from Feb 1, 2022

Commits on Feb 1, 2022

  1. README.md: Doc sec tag disabled, fails if enabled

    Document that the security tag is disabled by default. Also document
    that there are currently no checks in the security tag, so enabling it
    will fail.
    
    $ ./gocritic check -v -enable='#security
    init checkers: empty checkers set selected
    $ echo $?
    1
    
    When trying to enable the tag through golangci-lint, this is the error:
    
    ERRO Invalid gocritic settings: gocritic [enabled]tag "security" doesn't
    exist
    
    The tag was added in go-critic#989.
    
    Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
    dfarrell07 committed Feb 1, 2022
    Copy the full SHA
    203df08 View commit details
    Browse the repository at this point in the history