-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Prettier 1.19.1
Playground link
--parser vueInput:
<template>
<my-component v-if="long_long_long_long_long_long_long_condition && long_long_long_long_long_long_long_condition && long_long_long_long_long_long_long_condition && long_long_long_long_long_long_long_condition && long_long_long_long_long_long_long_condition && long_long_long_long_long_long_long_condition"></my-component>
</template>Output:
<template>
<my-component
v-if="
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition
"
></my-component>
</template>
Expected behavior:
<template>
<my-component
v-if="
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition &&
long_long_long_long_long_long_long_condition
"
></my-component>
</template>
Metadata
Metadata
Assignees
Labels
lang:vueIssues affecting VueIssues affecting Vuelocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.