-
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.
Replies: 1 comment 4 replies
-
Turned out to be because we had a |
Beta Was this translation helpful? Give feedback.
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.