Force Prettier to run on otherwise ignored file #16169
Unanswered
rschristian
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry if I'm being daft, but either the docs are lacking or this doesn't seem to be supported, which is frustrating.
Often I need to delve into (minifed)
node_modules
to debug some issue, where formatting would be much appreciated. However, it seems to be impossible to force Prettier to write these files, even with a file path explicitly provided, i.e.,prettier --write node_modules/example/index.js
.With a path to a specific module, the ignore file should be completely ignored, IMO. It's clearly I want that file formatted.
Is there any way of doing this?
Beta Was this translation helpful? Give feedback.
All reactions