Open
Description
What rule do you want to change?
vue/max-attributes-per-line
Does this change cause the rule to produce more or fewer warnings?
Yes
How will the change be implemented? (New option, new default behavior, etc.)?
A new option is preferable. Setting min
to singleline
or multiline
Please provide some example code that this change will affect:
<template>
<div
class="w-full"
/>
</template>
What does the rule currently do for this code?
It doesn't move class to single line.
What will the rule do after it's changed?
<template>
<div class="w-full" />
</template>
Additional context
There's no need to cover this case, I believe because it is alread covered by vue/first-attribute-linebreak
<template>
<div
:class="{
'w-full': someCondition,
}"
/>
</template>
Metadata
Metadata
Assignees
Labels
No labels