Skip to content

Rule to disallow blank lines between tags #3554

Open
@sspenst

Description

@sspenst

I'm looking for a rule to disallow blank spaces between tags. For example, this should be disallowed:

<div>
  <span>1</span>

  <span>2</span>
</div>

and this should be allowed:

<div>
  <span>1</span>
  <span>2</span>
</div>

I found vue/padding-line-between-tags which does what I'm looking for, but it would be nice if it existed here as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions