Skip to content

Reduce and Resolve Broad Checkstyle Suppressions #400

@Brijeshthummar02

Description

@Brijeshthummar02

The current https://github.com/checkstyle/patch-filters/blob/master/config/suppressions.xml contains several broad suppressions that disable Checkstyle rules across many files (for example LineLength, FinalParameters, RightCurly, and Translation on *.java). These were originally added during upgrades and legacy transitions, but they now hide real violations and reduce the effectiveness of static analysis.

In particular:

  • There are legacy suppressions marked as temporary but still present.
  • Some suppressions apply to all Java files (files=".*\.java"), which is too wide and prevents detection of new issues.
  • Suppressions added during the Checkstyle 13.3.0 upgrade should be resolved incrementally instead of remaining permanent.

Feel free to pick any suppression and fix it one at a time in separate PRs so the changes stay easy to review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions