doox911
doox911

Reputation: 519

Turn off log output when formatting

Run:

prettier --write .

How turn off log output when formatting in prettier?

Upvotes: 10

Views: 3740

Answers (1)

Forrest Wilkins
Forrest Wilkins

Reputation: 537

You can use the following:

prettier --log-level silent

Source: https://prettier.io/docs/en/cli.html#--log-level

Upvotes: 15

Related Questions