checkstyle / checkstyle/patch-filters

Reduce and Resolve Broad Checkstyle Suppressions

Open
#400 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
4
Forks
11
Avg merge
5h 55m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.