-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
"grunt lint" fails on Windows with many "Invalid line break" errors #1030
Comments
Hmm, this is weird. I just tried even removing Or can you try set text eol=lf in .gitattributes (see On Sat, Apr 12, 2014 at 12:19 PM, Danny Tuppeny [email protected]:
|
I didn't open any files in the editor after cloning, so isn't an editor. I'll dig into it further when I get chance and see if I can figure out what's happening. |
@DanTup I had the same problem until I cleared all |
@sylvain-hamel I did the same (after reading your comment elsewhere); with no joy. The setting was completely unset (though whether this causes something different on Windows to other OSes, I don't know). Additionally; even if this did fix it; it should not be a requirement to change system level config for it to work - there should be some ability to set it at the repo level. The more I use Git; the more I hate it :-/ |
For questions and support please use the mailing list or Gitter. The issue tracker is for bug reports and feature discussions only. |
When I run
grunt lint
on Windows; I get a bunch ofInvalid line break
errors. For example:I've tried setting
core.autocrlf
to true, false and unset it (doing a clean checkout each time) with no joy. Note: I'm a bit of a Git noob, so I may be doing this wrong; but it'd be useful to figure out to make contributing easier!The text was updated successfully, but these errors were encountered: