Closed
Description
What rule do you want to change?
The html-self-closing rule currently highlights the entire element when there's an error. I suggest changing it to highlight only the closing part, like />
or </Element>
.
Does this change cause the rule to produce more or fewer warnings?
How will the change be implemented? (New option, new default behavior, etc.)?
Adjust report({ loc })
Please provide some example code that this change will affect:
<template>
<div>
<div />
<div></div>
</div>
</template>
What does the rule currently do for this code?


What will the rule do after it's changed?


It will be easier to focus on the specific error.
Additional context
Metadata
Metadata
Assignees
Labels
No labels