Skip to content

Introduce parameter failOnMismatchedAllowedViolationsCount #174

Open
@NathanEckert

Description

@NathanEckert

New feature, improvement proposal

Associated PR: #165

Introduce a parameter to fail the build when the number of violations is not equal to maxAllowedViolations

This prevents the following scenario:

  • some changes reduce the checkstyle count but maxAllowedViolations is not updated
  • some other changes introduces new violations but the build does not fail, as the count left some margin for error, when we would like to avoid introducing new failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions