Skip to content

Conversation

ota-meshi
Copy link
Member

  • Added closeBracket.startTag, closeBracket.endTag and closeBracket.selfClosingTag options to vue/html-indent rule.
    So that the closeBracket offset value can be set for each tag type.
  • Changed vue/html-indent rule to calculate the base point of the indent offset of the closing bracket of the end tag by the start tag.

Close #728
Close #756 (PR)

- Added `closeBracket.startTag`, `closeBracket.endTag` and `closeBracket.selfClosingTag` options to `vue/html-indent` rule.
  So that the closeBracket offset value can be set for each tag type.
- Changed `vue/html-indent` rule to calculate the base point of the indent offset of the closing bracket of the end tag by the start tag.
@ota-meshi ota-meshi self-assigned this May 26, 2020
@ota-meshi ota-meshi merged commit d708da6 into master May 30, 2020
@ota-meshi ota-meshi deleted the html-indent-close-bracket branch May 30, 2020 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

closeBracket affects end tag
1 participant