v1.0.15
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-->