eslint-plugin-vue
eslint-plugin-vue copied to clipboard
Closing brackets should not be allowed to go multiline
Please describe what the rule should do: Closing brackets should not be allowed to go multiline.
What category should the rule belong to? [x] Enforces code style (layout)
<div class="mb-10 slide-right-to-left">
<v-btn fab small>
<v-tooltip open-delay="600">Cancel</v-tooltip
><v-icon>mdi-close</v-icon></v-btn
>
</div>
The previous situation, where both v-tooltip
and v-btn
have their >
in a newline, is currently accepted.
The following should be enforced:
<div class="mb-10 slide-right-to-left">
<v-btn fab small>
<v-tooltip open-delay="600">Cancel</v-tooltip>
<v-icon>mdi-close</v-icon>
</v-btn>
</div>
Am I missing something or there's no rule to enforce this yet?