We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please describe what the rule should do: Increase readability by adding tag spacing
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
{before: false, after: false}
<!-- bad --> <template> <div class="header"></div> <div class="content"></div> <div class="footer"></div> </template>
{before: true, after: true}
<!-- good --> <template> <!-- spacing --> <div class="header"></div> <!-- spacing --> <div class="content"></div> <!-- spacing --> <div class="footer"></div> <!-- spacing --> </template>
{before: true, after: false}
<template> <!-- spacing --> <div class="header"></div> <!-- spacing --> <div class="content"></div> <!-- spacing --> <div class="footer"></div> </template>
{before: false, after: true}
<template> <div class="header"></div> <!-- spacing --> <div class="content"></div> <!-- spacing --> <div class="footer"></div> <!-- spacing --> </template>
<template> <!-- spacing --> <div class="header"> <!-- spacing --> <div class="logo"></div> <!-- spacing --> </div> <!-- spacing --> <div class="content"> <!-- spacing --> <div class="left"></div> <!-- spacing --> <div class="right"></div> <!-- spacing --> </div> <!-- spacing --> <div class="footer"> <!-- spacing --> <span>XXXXX(at)gmail.com</span> <!-- spacing --> </div> <!-- spacing --> </template>
Additional context
The text was updated successfully, but these errors were encountered:
This should now be possible with the vue/padding-line-between-tags rule (added in #1966).
vue/padding-line-between-tags
Sorry, something went wrong.
No branches or pull requests
Please describe what the rule should do:
Increase readability by adding tag spacing
What category should the rule belong to?
Provide 2-3 code examples that this rule should warn about:
{before: false, after: false}
{before: true, after: true}
{before: true, after: false}
{before: false, after: true}
Additional context
The text was updated successfully, but these errors were encountered: