vue-realworld-example-app
vue-realworld-example-app copied to clipboard
🔨 Update Prettier to remove some CRLF Warnings
TLDR
Add Prettier setting to account for end of line differences between Operating Systems (~80 down to 27).
Details
On Windows, I'm receiving about 80 of these errors when running yarn serve
:
Based on what I'm seeing here this is an Operating System difference causing the warnings and telling Prettier to detect the end of line type will adjust this.
Hmm the option is set to "auto"
by default. I think the PR will not change everything in functionality. I just think because we introduced the .editorconfig
file later some files got commited with wrong line endings
That's strange - why would specifying it as "auto" cause a different effect?
Would a preferred route be to lint the files instead so they align with the editor profile settings?