Is there a way to quiet or suppress the (unchanged) output lines? #15981
-
|
Pretty much just don't want to see a message if a file was not changed by prettier. i.e. quiet messages like this: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Any updates? My dirty workaround: |
Beta Was this translation helpful? Give feedback.
-
|
I fully agree with this... my opinion of this "opinionated code formatter" is that the output of I've lost countless hours of my life trying to switch to a different code formatter, but I always keep coming back to Prettier. then I see it's inconsistent feedback between having said that, changing the default behaviour could be considered a "potential breaking change" though, as there could be systems out there that depend on the output of this command for automation purposes... 🤔 could one of the project maintainers perhaps chime in on this topic? |
Beta Was this translation helpful? Give feedback.
-
|
Use |
Beta Was this translation helpful? Give feedback.
Any updates?
My dirty workaround:
npm run format | rg -v -F '(unchanged)'