Bug: Delete `CR` eslint(prettier/prettier) error
adiati98 opened this issue · comments
Describe the bug
When I worked on the Party.tsx
file, I got 75 error messages of "Delete CR
eslint(prettier/prettier)". I'm on Windows machine, so this error probably only affect Windows users.
To Reproduce
- Open VS Code in Windows machine.
- Open any
.tsx
file. - You will see lots of red warnings in the file.
- Click "PROBLEMS" tab on the panel bar.
- You will see the details of the error: "Delete
CR
eslint(prettier/prettier)".
Expected behavior
This error should not occur.
Screenshots
Suggested Solutions
Add rules to eslint.cjs
file by setting set the endOfLine
property to auto
.
Here is a resource to handle the error issue: https://bobbyhadz.com/blog/eslint-delete-cr-prettier
Desktop (please complete the following information):
- OS: Windows 11
Smartphone (please complete the following information):
Additional context
Thanks for the issue, our team will look into it as soon as possible! If you would like to work on this issue, please wait for us to decide if it's ready. The issue will be ready to work on once we remove the "needs triage" label.
To claim an issue that does not have the "needs triage" label, please leave a comment that says ".take".
For full info on how to contribute, please check out our contributors guide.
Thanks for reporting Ayu!