-
According to the CLI docs, this should be perfectly valid:
The file path exists, and is valid from the directory I run this command from. Yet when I execute this, prettier formats every file in my project except for those listen in I was trying to use this with Using prettier 2.8.4 on Node 18 |
Beta Was this translation helpful? Give feedback.
Answered by
viveleroi
Mar 10, 2023
Replies: 1 comment 4 replies
-
Turned out to be because we had a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
viveleroi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turned out to be because we had a
prettier
script in package.json that was set toprettier --write .
so yarn was executing that, ignore the file arguments.