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
#39 now causes prettier-plugin-marko to not emit trailing commas for args by default (better aligns with prettier for js).
The core issue is in the language server which we'll track in marko-js/language-server#170
Version: 1.5.0
Details
Related to marko-js/language-server#170
The root cause may be this prettier package.
Also if I remove the problematic comma mentioned in the linked issue, prettier check will complain.
Expected Behavior
prettier --check
shouldn't expect the problematic comma to be there.Actual Behavior
It wants to put a comma indicated here, which break the TypeScript checking for the props when passed to
<person-card>
Your Environment
Steps to Reproduce
See marko-js/language-server#170
Stack Trace
See marko-js/language-server#170
The text was updated successfully, but these errors were encountered: