You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want all files to be \r\n I would add a .gitattributes file with * text eol=crlf. If it's just certain files then I would adjust the wildcard appropriately.
Another option is to set <lineEndings>WINDOWS</lineEndings> but you will be fighting against git if you do that, which I don't recommend.
Perhaps you wish that Spotless detected the line endings per-file, and just kept them as-is? We don't support that right now, but I'd be happy merge that as a new line endings mode (#1172).
Hello, I encountered the problem of transferring CRLF to LF when using spotless. The details are as follows
CRLF will be converted to LF when submitting documents.
gradle or maven version
apache-maven-3.5.4
spotless version
2.21.0
operating system and version
![image](https://user-images.githubusercontent.com/77398366/163900296-79a4f7fe-8417-4505-b93a-55397953ff5b.png)
copy-paste your full Spotless configuration block(s), and a link to a public git repo that reproduces the problem if possible
gradlew spotless[Apply/Check] --stacktrace
ignore
The text was updated successfully, but these errors were encountered: