Replies: 2 comments 1 reply
-
Did you maybe try adding a Prettier config? I know it might be redundant to define another config file for some formatting, but it maybe is a temporary workaround for this. Define a Prettier config that has tabs set to true and NX will potentially respect that config instead. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@marko-hologram I tried, but unfortunately NX doesn't respect Prettier config. This is my
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever I run an NX command, it messes up the formatting of all my files because it doesn't take into account the settings of my .editorconfig file. For example: I have set the workspace to use tabs, but running an nx command formats my package.json with two spaces instead of tabs. Is there any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions