Why does eslintrc specify linebreaks as unix, but whole project uses dos and all files have errors ? #901
Replies: 1 comment
-
It was because git has core.autocrlf set to true by default. Running this and re-cloning the repo works: You may also need to configure your editor to use LF, or set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Eslintrc specifies line break style as unix. However all files have CRLF (dos) line endings. I can fix them by formatting them for unix. But how did this happen ? All files are full of errors. Since there are no issues about this, i must be missing something.
Beta Was this translation helpful? Give feedback.
All reactions