Skip to content

Use `--silent` in npm script prettier-check

Warren Gifford requested to merge prettier-check-silent into master

Created by: mrnugget

Without --silent the output of the command is incredibly noisy on CI:

prettier_check

And since it's a "check" command to make sure that everything's been formatted properly, we only want to know:

  1. did it succeed or fail?
  2. if it failed, which fails were not formatted?

With --silent we get all of that and can more easily spot which files are wrongly formatted.

Before:

prettier_check_before

After:

prettier_check_after

Merge request reports

Loading