-
Notifications
You must be signed in to change notification settings - Fork 1
jscs validateLineBreaks
JS hinting error when running gulp commands
#28
Comments
I'm sure I can fix that. I should probably replace jscs with eslint anyway, since the former is deprecated. Not sure why you'd get it now but not before. Did you upgrade a dependency somewhere? Maybe something changed with string handling in Node 8. |
I tried |
Isn't there a git setting somewhere that fixes Windows stupid line breaks? |
I think maybe what I can do is remove that requirement but put something in git configuration to force unix line breaks on commit. https://help.github.com/articles/dealing-with-line-endings/ In the meantime, seems like things here have gone a bit haywire with the upgrade to npm 5 so I have to fix that. |
@cvan I've never actually used git on Windows because cmd and powershell are such a mess and bash is only available in the last several months. But I think that by default git will convert line endings to whatever your platform wants when you check out and back to LF only when you check in. So I'm gonna just remove this requirement for now. If you want, try checking in something on a temporary branch to see how the line endings come out. |
@cvan See if this fix helps and you can close this issue if so. |
I'm on Windows. And I didn't get this error before, but now I do. I get this error when running
npm run dev
andnpm run watch
:Any ideas, @brianchirls?
The text was updated successfully, but these errors were encountered: