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

⭐️New: Add rules of HTML comment styles #755

Merged
merged 3 commits into from May 17, 2020

Conversation

ota-meshi
Copy link
Member

This PR adds the following rule of HTML comment style.

  • vue/html-comment-indent

    enforce consistent indentation in HTML comments

  • vue/html-comment-content-newline

    enforce unified line brake in HTML comments

  • vue/html-comment-content-spacing

    enforce unified spacing in HTML comments

Closed #592


The exceptions option of vue/html-comment-content-newline and vue/html-comment-content-spacing refer to ESLint's spaced-comment rule.

@ota-meshi ota-meshi force-pushed the add-rule/html-comment-styles branch 3 times, most recently from 61786f5 to e488c5f Compare May 16, 2020 08:50
@ota-meshi ota-meshi force-pushed the add-rule/html-comment-styles branch from e488c5f to ba010c7 Compare May 17, 2020 00:06
@ota-meshi ota-meshi merged commit 4d29de5 into master May 17, 2020
@ota-meshi ota-meshi deleted the add-rule/html-comment-styles branch May 17, 2020 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule proposal: html comment content newline
1 participant