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

Adds ForbiddenSuppress rule #4899

Merged
merged 1 commit into from Jun 3, 2022

Commits on Jun 2, 2022

  1. Creates ForbiddenSuppress rule

    This rule is based on discussion detekt#4890.
    
    Checks for suppression of one or more rules that have been decided to
    never be suppressed within a code base. For example, if we've set
    MaximumLineLength to a value, every file must be compliant, and if there
    is a special case where compliance is discouraged, we can simply exclude
    this file within YML configuration.
    
    This rule cannot prevent itself from being suppressed, but should serve
    to discourage the over use of `@Suppress` annotations.
    gfreivasc committed Jun 2, 2022
    Copy the full SHA
    d0c9ffc View commit details
    Browse the repository at this point in the history