Skip to content

Rule proposition: Template Indentation #46

Closed
@filipalacerda

Description

@filipalacerda

It would be great to have the ability of having only one style for the template/render function HTML, by enforcing an indentation style.

It could be configured by setting the option to tab for tabs or a positive number for spaces.

Proposal:

  1. For tabs 'vue/indent': 'tab'
<application>
	<component />
</application>
  1. For 2 spaces: 'vue/indent': 2
<application>
  <component />
</application>
  1. No indentation: 'vue/indent': 0
<application>
<component />
</application>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions