Prettier does have a consistent option on quoteProps so when an object has properties that require quotes, it will add quotes to all properties on the object for consistent format and look. Currently, oxfmt (just like Biome) does not have this option.
https://prettier.io/docs/options#quote-props
This is very useful when working with i18n data, where some properties can be strings with spaces that require quotes, while others are single words. Currently, oxfmt's default as-needed mixes the formatting, which looks ugly.
Prettier does have a
consistentoption onquotePropsso when an object has properties that require quotes, it will add quotes to all properties on the object for consistent format and look. Currently, oxfmt (just like Biome) does not have this option.https://prettier.io/docs/options#quote-props
This is very useful when working with i18n data, where some properties can be strings with spaces that require quotes, while others are single words. Currently, oxfmt's default
as-neededmixes the formatting, which looks ugly.