Closed
Description
Please describe what the rule should do:
This rule warns about the usage of useless spaces.
What category of rule is this? (place an "X" next to just one item)
[x]
Enforces code style
[ ]
Warns about a potential error
[ ]
Suggests an alternate way of doing something
[ ]
Other (please specify:)
Provide 2-3 code examples that this rule will warn about:
<template>
<div class="wrapper">
<div class="example1" ></div>
<div class="example2" @click="handleClick">
<!-- Notice there are two spaces between `class` and `@click` -->
</div>
<div class="example3 ">
<!-- Is it possible to catch extra spaces in attribute value? -->
</div>
</div>
</template>
However, the following should be considered fine:
<template>
<div class="wrapper">
<self-closing />
<div
class="multiple-line"
@click="handleClick"
>
</div>
</div>
</template>
The suggested rule name is likely not good enough.