Answer the question
In order to leave comments, you need to log in
Why does linter throw an error in vue.js?
Hello, the linter gives the following messages: https://monosnap.com/file/ys0QCKWb1yer6W5QYwWCnRBD...
I'm doing the project using vue-cli, I used to work on a poppy, there were no such problems, now such errors fly out on Windows. Moreover, if you recreate the same file, everything will be ok, but later there will be errors again.
Answer the question
In order to leave comments, you need to log in
Look in the editor settings for the type of line breaks. Ideally, install a plugin to support editorconfig and create an .editorconfig.
In general, eslint, when launched with the --fix parameter, can fix it itself.
On unix systems, lf is added to the line feed, and on Windows, cr+lf. Linter wants the second option from you, and you have the first one in the file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question