Skip to content

Enforce file size on Non-Java inputs  #11178

@rnveach

Description

@rnveach

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

verifyAst(getPath("InputJava9TryWithResources.txt"),

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions