Created
May 31, 2023 23:50
-
-
Save KrisKnez/11c4786e5fc25f7e74d56271f1dcefb5 to your computer and use it in GitHub Desktop.
Fix LF / CRLF Error - Insert `␍`eslintprettier/prettier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In the .eslintrc file add the following: | |
| extends: ['prettier'] and plugins: ['prettier'] | |
| rules: {'prettier/prettier': ['error', {endOfLine: 'auto'}]} | |
| In .prettierrc remove this: | |
| endOfLine: 'auto' | |
| It works for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment