Closed Lewiscowles1986 closed 2 years ago
Fixed conflicts after getting a second notification this was approved. Maybe it can merge now?
Thanks!
Found another approach, since this one has an error if you checkout LF on Windows, which is what I do.
Released in v1.3.2
I'd forgotten all about this, but can you let me know a little more about the error?
The config below causes eslint to complain when line endings are not CRLF on Windows. Since I've setup Git to check with LF, and I edit with LF, I get lint errors with yarn lint
.
'linebreak-style': [2, "windows"],
Git on windows defaults to
CRLF
when checking out and then converting toLF
when push upstream.This should allow linux and mac users to continue to follow
LF
, but allow pass on windows hosts withCRLF
Fixes #502