user17292721
user17292721

Reputation:

Code style issues found in the above file(s). Forgot to run Prettier?

I have this problem when I try to check style with prettier --check

Code style issues found in the above file(s). Forgot to run Prettier?

Upvotes: 39

Views: 60877

Answers (1)

Mahdiyeh
Mahdiyeh

Reputation: 1194

 npx prettier --write .

This command overwrites the code and makes it beautiful.

Upvotes: 75

Related Questions