[Prettier Plugin] Help - Any ways to format custom class object? #19340
Replies: 1 comment
-
|
Hey! The plugin's In your case:
As a possible workaround, for now, you may wrap the values with a helper function that is handled by and make sure As far as I know there's no built-in way today to tell the plugin "also sort strings inside this custom object shape", so if this is important in your codebase it might be worth opening a feature request on the plugin repo? Hope that helps a bit, even if it’s not the magic |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems neither
tailwindFunctionsnortailwindAttributeswill work for custom class object.Beta Was this translation helpful? Give feedback.
All reactions