gitKrystan / prettier-plugin-ember-template-tag

A prettier plugin for formatting Ember template tags
MIT License
22 stars 12 forks source link

bug: showcase buildError issue #51

Closed gabrielcsapo closed 1 year ago

gabrielcsapo commented 1 year ago

Showcases the following error from babel

Screen Shot 2023-02-14 at 1 12 05 PM
gabrielcsapo commented 1 year ago

I don't think there is a fix on the plugin side, but multiple imports of the same name will cause buildError to fail.

gitKrystan commented 1 year ago

Thanks for the report!

IRL, is the outcome that prettier behaves as a no-op? If so, I think this is intended behavior. Prettier generally fails silently on parsing errors. (If you're lucky it will log the error somewhere though.)