You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Paul (Jira)" <ji...@apache.org> on 2022/11/11 08:38:00 UTC
[jira] [Updated] (FLINK-29187) mvn spotless:apply to format code in Windows
[ https://issues.apache.org/jira/browse/FLINK-29187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Paul updated FLINK-29187:
--------------------------------
Affects Version/s: 1.15.3
(was: 1.15.2)
> mvn spotless:apply to format code in Windows
> --------------------------------------------
>
> Key: FLINK-29187
> URL: https://issues.apache.org/jira/browse/FLINK-29187
> Project: Flink
> Issue Type: Improvement
> Components: Build System, Build System / CI
> Affects Versions: 1.15.3
> Reporter: hjw
> Priority: Major
>
> When use mvn spotless:apply command to format flink code in Windows, the EOL of file will be replced to CRLF.
> I think we can add a `.gitattributes` file to force the code eol to be LF.
> The realtion issue is [EOL CRLF vs LF|https://github.com/diffplug/spotless/issues/39]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)