How to handle this on Windows when endOfLine is set to lf in .prettierrc
If endOfLine is set to in the .prettierrc file, Windows will always show a warning from Prettier. ␍ To resolve this issue, you could change it to , but the prob
If endOfLine is set to lf in the .prettierrc file, Windows will always show a warning from Prettier.
ESLint: Delete ␍ (prettier/prettier)
To resolve this issue,
you could change it to "endOfLine": "auto", but the problem is that this makes it difficult to maintain consistency when collaborating.
For a project you work on alone, using auto is fine, but when several people are working on it, it seems better to just use lf instead.
You can resolve the Prettier warning by selecting at the bottom of IntelliJ and changing it to .
