Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force LF as newLine character #919

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

p-bakker
Copy link
Collaborator

@p-bakker p-bakker commented Jun 1, 2021

spotlessApply would otherwise convert all newLine characters to CRLF on
windows

Closes: #918

spotlessApply would otherwise convert all newLine characters to CRLF on
windows
@gbrail
Copy link
Collaborator

gbrail commented Jun 1, 2021

This is of course a fine idea but I am worried since we have files in the test directories (and some test262 files) with CRLF line endings. What happens on Windows when one checks those out with this flag set? And do all the tests run on Windows?

I don't have Windows set up to test this, unless it's using Ubuntu on Windows which I assume still uses LF.

@p-bakker
Copy link
Collaborator Author

p-bakker commented Jun 2, 2021

@gbrail I'll get back to you on that one

@tonygermano
Copy link
Contributor

Would it make sense to only set eol=lf for *.java files?

@gbrail
Copy link
Collaborator

gbrail commented Jun 4, 2021 via email

@p-bakker p-bakker mentioned this pull request Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spotless on Windows formats with the wrong line endings
3 participants