Y
Y
yativ_sobb2020-12-18 12:36:30
Windows
yativ_sobb, 2020-12-18 12:36:30

How to fix eslint error?

5fdc78eb7abe4438295715.png

Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style


There is such an error and it does not disappear. Although all files in the gentle right corner shows LF.
I first used this to solve this little problem https://www.npmjs.com/package/crlf to fix all the files at once. And the error didn't go away.

Although for this I did for another project and everything worked there.

I work on windows, and I know that it is possible to install eslint on a specific operating system, but this will not suit my initial one because he has a Mac.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question