You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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