Skip to content

v1.0.15

Compare
Choose a tag to compare
@nikolai-shabalin nikolai-shabalin released this 12 Jan 07:06
· 43 commits to main since this release
502606e

1.0.15

Added htmlacademy/space-between-comments

rules: {
  'htmlacademy/space-between-comments': [true, 'space' | 'no-space]
}

This rule checks for spaces at the beginning and end of the comment block.

Options

string: "space"|"no-space"

Value space

If a comment has spaces at both the beginning and end of the comment block, it is compliant.

The following patterns are considered problematic:

<!-- Comment-->
<!--Comment -->
<!--Comment-->

The following patterns are not considered problems:

<!-- Comment -->

Value no-space

If a comment has no spaces at both the beginning and end of the comment block, it is compliant.

The following patterns are considered problematic:

<!-- Comment-->
<!--Comment -->
<!-- Comment -->

The following patterns are not considered problems:

<!--Comment-->