How to run prettier check ? #2623
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Actually the installation part is to run your page locally. Running locally with docker already includes prettier, so it is the easier way. If you don't use docker it is simple to integrate it with your preferred IDE using an extension. Now, if you want to run it manually, you can follow the first 2 steps in this tutorial, more specifically:
Then, you can install it using Another option (if you want to just check what went wrong) is to check the failed action in your GitHub repo. If you open the failed action, you can see that right after the failed step inside the action there are 2 steps:
The second one creates a zip with an HTML inside that contains the changes that need to be made. |
Beta Was this translation helpful? Give feedback.
"Then, you can install it using
npm install prettier
inside the project directory, or install it globally on your computer usingnpm install -g prettier
. To run prettier on your current directory usenpx prettier . --write
."Works for me. Thanks a lot!