[
https://issues.apache.org/jira/browse/FLINK-19159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192174#comment-17192174
]
Patrick Lucas commented on FLINK-19159:
---------------------------------------
[~aljoscha] some plugins, like
[Spotless|https://github.com/diffplug/spotless/tree/main/plugin-maven] (which
supports Maven & scalafmt) have an option to only enforce style on a file when
that file has changed from a given Git ref
(["ratchet"|https://github.com/diffplug/spotless/tree/main/plugin-maven#ratchet]).
There would still be some noise as files are formatted, chiefly impacting
large files, but maybe that's a compromise that works for Flink?
> Using Scalafmt to format scala source code
> ------------------------------------------
>
> Key: FLINK-19159
> URL: https://issues.apache.org/jira/browse/FLINK-19159
> Project: Flink
> Issue Type: Improvement
> Reporter: darion yaphet
> Priority: Minor
>
> Scalafmt is a code formatter for Scala. It can help developer to avoid code
> style conflict
--
This message was sent by Atlassian Jira
(v8.3.4#803005)