hgop / syllabus-2022

0 stars 1 forks source link

no prompt when run npm run lint #37

Closed patrekurs19 closed 2 years ago

patrekurs19 commented 2 years ago

I tried to run npm run lint but didnt get the prompt to set up the rules

finnure commented 2 years ago

That's most likely because you already have an .eslintrc.json file. If you want to get the prompt, delete the .eslintrc.json file and try running npm run lint again.

Hjortur17 commented 2 years ago

I had the same issue, I had to delete the .eslintrc.json and run the command again. Then I got the prompt

kthorri commented 2 years ago

You don't need the prompt. No need to delete eslint file