Wonderland-Money / wonderland-frontend

MIT License
228 stars 296 forks source link

How to fix "Delete `␍` prettier/prettier" error when I run "yarn start"? #79

Closed akachi1409 closed 2 years ago

akachi1409 commented 2 years ago

I have cloned the repo and run yarn install and yarn start.

Then, I got this error message.

Please tell me how to fix this Screenshot_1 .

akachi1409 commented 2 years ago

I found the issues and maybe this is very basic for the advanced developers.

But I post the correct answer who have difficulty with this problem.

You can go to .eslintrc.json file and edit here.

"rules": {
"prettier/prettier": [
  "error",
  {
    "endOfLine": "auto"
  }
]

It can help you to fix.