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
Is there a way to configure prettier to format XML files using the HTML formatter (I would even suggest adding *.xml to the extensions list for the HTML formatter)? I'd like to force this in my global prettier configuration.
The XML plugin (https://github.com/prettier/plugin-xml) has serious problems and basically does not work for many cases. The HTML formatter does a much better job.
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
-
Is there a way to configure prettier to format XML files using the HTML formatter (I would even suggest adding *.xml to the extensions list for the HTML formatter)? I'd like to force this in my global prettier configuration.
The XML plugin (https://github.com/prettier/plugin-xml) has serious problems and basically does not work for many cases. The HTML formatter does a much better job.
Beta Was this translation helpful? Give feedback.
All reactions