-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: <template>
in CallExpression
argument position
#192
Comments
CallExpression
argument position<template>
in CallExpression
argument position
I always format my own stuff as the option a anyway. I think it looks better |
Is that trailing comma in option A intentional? I personally also format my tests as described in option A. One downside is that it has an extra level of indentation over option B. But considering test templates usually are quite flat, it's not really an issue. |
Yes, it comes from prettier's default trailing comma config. You can change the config (setting it to |
Vote by reacting to this issue. Comment with more details below. Do you prefer:
Option A (🚀)
This is what v2.0.0-0 is currently returning.
Option B (👎)
This is what v1 currently returns.
The text was updated successfully, but these errors were encountered: