Skip to content

Detect formatting-only changes in JVM languages with isFormattingChange #482

Open
@tresat

Description

@tresat

Is your feature request related to a problem? Please describe.
I'd like gitStream to properly detect formatting-only changes (whitespace, indentation fixes, etc.) to JVM language files like Java, Kotlin, Groovy. The check is currently limited to only a few languages as described here https://docs.gitstream.cm/filter-functions/#isformattingchange.

Describe the solution you'd like
isFormattingChange to support JVM languages.

Describe alternatives you've considered
Dropping this automation from our project.

Additional context
Perhaps the minifier used for Android could be used to implement this: https://www.guardsquare.com/proguard?

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