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
Prettier changes <Component {attribute} /> to <Component attribute="attribute"> when shorthand attributes are not allowed whereas it should actually be <Component attribute={attribute}>
Steps to Reproduce
npm init astro using template Vue (template does not matter probably)
install prettier plugin npm i -D prettier-plugin-astro
Describe the Bug
Prettier changes
<Component {attribute} />
to<Component attribute="attribute">
when shorthand attributes are not allowed whereas it should actually be<Component attribute={attribute}>
Steps to Reproduce
npm init astro
using template Vue (template does not matter probably)npm i -D prettier-plugin-astro
The text was updated successfully, but these errors were encountered: