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
Hi,
I've noticed that Prettier and VSCode behave differently with MDX formatted files.
Fixes #55. Could you test this PR? I believe this will resolve the issue.
Running pnpm format gave me a different output for both mdx and jsx files. I figured out that eslint tailwind plugin has different sorting preferences than the prettier plugin. So lint --fix was reordering classes that prettier was already fixing with format in a different way. Turning off the class order rule fixed the issue for jsx files.
mdx still gives a different output on save. Not sure what we can do about it.
I only tried for MDX files but the title says everything. This is for this repo itself not the component.
The text was updated successfully, but these errors were encountered: