Closed blimmer closed 3 weeks ago
Consider this file:
--- const { foo } = Astro.props; --- { foo === 'bar' && ( <div>Foo is bar</div> ) } { foo === 'baz' && ( <div>Foo is baz</div> ) }
When formatted, the file looks like this:
--- const { foo } = Astro.props; --- { foo === 'bar' && ( <div>Foo is bar</div> ) } <PrettierPluginAstroOrganizeImports> { foo === 'baz' && ( <div>Foo is baz</div> ) } </PrettierPluginAstroOrganizeImports>
I have a failing test to show the issue here: https://github.com/neoki07/prettier-plugin-astro-organize-imports/pull/177
Sorry for the delay in responding. I will investigate a solution to this issue this week or so.
No problem at all - thanks!
Consider this file:
When formatted, the file looks like this:
I have a failing test to show the issue here: https://github.com/neoki07/prettier-plugin-astro-organize-imports/pull/177