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

Detect any line ending type regardless of OS. #154

Merged
merged 7 commits into from
Sep 16, 2015

Conversation

joshuacc
Copy link
Contributor

Mostly opening this PR to see what Travis has to say about it. I'm still getting some failing tests locally that seem unrelated to the newline issue.

But in case this is acceptable...

DCO 1.1 Signed-off-by: Joshua Clanton joshua.clanton@gmail.com

@DanPurdy
Copy link
Member

Thanks for this, the test failures don't seem trivial so we should definitely look into having them pass, Could you also add some tests for the new helper functions please, looking for 100% coverage where we can

@DanPurdy
Copy link
Member

Just to link this to #149

@joshuacc
Copy link
Contributor Author

@DanPurdy Sorry for the delay on this. Had a long vacation weekend. 😁

I've pulled the latest from develop and added tests. Everything newline related passes locally (still one failure that is unrelated to these changes). And it looks like Travis approves as well.

@joshuacc
Copy link
Contributor Author

Correction: Looks like that last failing test on my machine is newline-related after all. It's from the indentation rule, and looks a bit harder to fix than the others. Not necessarily a reason to hold this PR back. I could work on that piece separately.

@DanPurdy
Copy link
Member

@joshuacc no problem, hope you had a good time!

Thanks very much for this it's looking good to me, I think the indentation rule is heading towards a rewrite anyway due to some of the other issues that have been flagged such as #104, but by all means look into it if you'd like!

I'll have another look over this in the morning and get back to you.

Thanks again

@DanPurdy
Copy link
Member

@joshuacc this also needs develop merging into it again, we merged a few other PR's this morning.. Sorry! 😄

@joshuacc
Copy link
Contributor Author

Merged develop into my branch. Travis looks good.

@bgriffith bgriffith added this to the 1.3.0 milestone Sep 16, 2015
@DanPurdy
Copy link
Member

Just ran through this and tried it out, all working nicely. Thanks @joshuacc

DanPurdy added a commit that referenced this pull request Sep 16, 2015
Detect any line ending type regardless of OS.
@DanPurdy DanPurdy merged commit f9f3cc5 into sasstools:develop Sep 16, 2015
@joshuacc
Copy link
Contributor Author

Awesome. 👍

@joshuacc joshuacc deleted the feature/line-endings branch September 17, 2015 17:50
donabrams pushed a commit to donabrams/sass-lint that referenced this pull request Nov 19, 2015
Detect any line ending type regardless of OS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants