Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Delete CR eslint(prettier/prettier) error #13

Open
adiati98 opened this issue Dec 31, 2023 · 2 comments · May be fixed by #15
Open

Bug: Delete CR eslint(prettier/prettier) error #13

adiati98 opened this issue Dec 31, 2023 · 2 comments · May be fixed by #15
Assignees
Labels
bug Something isn't working

Comments

@adiati98
Copy link
Collaborator

adiati98 commented Dec 31, 2023

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

  1. Open VS Code in Windows machine.
  2. Open any .tsx file.
  3. You will see lots of red warnings in the file.
  4. Click "PROBLEMS" tab on the panel bar.
  5. You will see the details of the error: "Delete CR eslint(prettier/prettier)".

Expected behavior

This error should not occur.

Screenshots

delete cr

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

@adiati98 adiati98 added bug Something isn't working needs triage issue waiting to be triaged labels Dec 31, 2023
Copy link

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.

@nickytonline nickytonline removed the needs triage issue waiting to be triaged label Dec 31, 2023
@nickytonline
Copy link
Owner

Thanks for reporting Ayu!

@adiati98 adiati98 linked a pull request Dec 31, 2023 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants