Skip to content
New issue

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

Improved closing bracket indentation for vue/html-indent rule. #1162

Merged
merged 1 commit into from May 30, 2020

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