nickytonline / astro-partykit-starter

Home Page:https://astro-partykit-react-starter.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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

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!