Skip to content

How to run prettier check ? #2623

Discussion options

You must be logged in to vote

"Then, you can install it using npm install prettier inside the project directory, or install it globally on your computer using npm install -g prettier. To run prettier on your current directory use npx prettier . --write."
Works for me. Thanks a lot!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pats-Chen
Comment options

Answer selected by george-gca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants