End of Line Error preventing App from running
-
Jumping into a project mid way and having an issue launching the app using “quasar dev -m pwa” as it returns line ending error as seen in the attached image.
It is expecting LF and getting CRLF. I understand why but is there a way to disable this error as the line endings are handled by Git and converted to LF on commit.
-
For anyone that finds themselves with the same issue, the way I solved this was to add a line to the eslintrc file in the rules section.
'linebreak-style': 0
Documentation on this can be found on the ESLint GitHub Page
-
Same errors, I’ve added
'linebreak-style': 0
to eslintrc.json, but those errors still exist. -
@flight9 You mean .eslintrc.js