Split from https://github.com/checkstyle/checkstyle/issues/11163 , Example https://github.com/Vyom-Yadav/checkstyle/commit/219bfa982301c486f026fcde9498bdc13c022d50#diff-1d3358552120d464ba5949e0e9cb1ce5ac4801449ab33e389feedc2f6231beb5R796 BLOCKED by https://github.com/checkstyle/checkstyle/issues/11163 This issue should specifically look at Non-Java input files. An input file is anything named "Input*.*". https://github.com/checkstyle/checkstyle/blob/master/src/test/resources/com/puppycrawl/tools/checkstyle/grammar/InputJava9TryWithResources.txt https://github.com/checkstyle/checkstyle/blob/master/src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/grammar/java9/InputJava9TryWithResources.java https://github.com/checkstyle/checkstyle/blob/77852dd5ccda0d69e3146b701549b8c49d5a02c2/src/test/java/com/puppycrawl/tools/checkstyle/grammar/AstRegressionTest.java#L68 As we usually do: Enforce rules with long list of suppression All suppressions can be resolved in separate PRs Rationale: big input files a hard to review, hard to debug.
Split from #11163 ,
Example Vyom-Yadav@219bfa9#diff-1d3358552120d464ba5949e0e9cb1ce5ac4801449ab33e389feedc2f6231beb5R796
BLOCKED by #11163
This issue should specifically look at Non-Java input files. An input file is anything named "Input*.*".
https://github.com/checkstyle/checkstyle/blob/master/src/test/resources/com/puppycrawl/tools/checkstyle/grammar/InputJava9TryWithResources.txt
https://github.com/checkstyle/checkstyle/blob/master/src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/grammar/java9/InputJava9TryWithResources.java
checkstyle/src/test/java/com/puppycrawl/tools/checkstyle/grammar/AstRegressionTest.java
Line 68 in 77852dd
As we usually do:
Enforce rules with long list of suppression
All suppressions can be resolved in separate PRs
Rationale: big input files a hard to review, hard to debug.