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

Only accept LF (linux style) end of lines #570

Merged
merged 3 commits into from
Aug 28, 2019
Merged

Conversation

maxgabut
Copy link
Collaborator

@maxgabut maxgabut commented Feb 15, 2019

There is currently multiple style of line ending in the project.
As suggested in #564, I think that there should be only one style in the code base.

In this PR I added a checkstyle rule to only allow linux style end of line and I changed the files that had different style.

review note: the diff is quite heavy, but ignoring whitespace changes will remove all changes except the checkstyle rule.

@hcoles WDYT ?

This adds the rule to checkstyle configuration and fix files that need fixing.
@rnveach
Copy link
Contributor

rnveach commented Feb 23, 2019

@maxgabut you'll have to rebase this because of changes made in a PR I made that got accepted which are causing conflicts.

@hcoles
Copy link
Owner

hcoles commented May 19, 2019

@maxgabut Thanks for this, sorry for the slow response. This will get merged in after the changes to the coverage system in #534 (it's a large change + complex change and I'd prefer not to have to fight through diffs if any issues occur).

@hcoles hcoles merged commit ceba75a into hcoles:master Aug 28, 2019
@maxgabut maxgabut deleted the linux-eol branch September 2, 2019 11:50
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.

3 participants