You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?
"no-extra-semicolons": true is not error if the issue code is followed by 2 or more lines of comment. It's error if only followed by 1 comment line or none.
Which rule, if any, is this issue related to?
no-extra-semicolons
What CSS is needed to reproduce this issue?
This code not throw error.
.foo {
color: red;;
////
}
This one does.
.foo {
color: red;;
//
}
What stylelint configuration is needed to reproduce this issue?
{
"rules": {
"no-extra-semicolons": true
}
}
Which version of stylelint are you using?
7.11.1
How are you running stylelint: CLI, PostCSS plugin, Node API?
I'm using it with gulp. CLI is having the same issue.
Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?
LESS files.
What did you expect to happen?
It should throw an error.
What actually happened (e.g. what warnings or errors you are getting)?
It's not.
The text was updated successfully, but these errors were encountered:
jeddy3
changed the title
no-extra-semicolons not error if followed by 2 or more lines of comment
False negative for semicolons followed by two comments in no-extra-semicolons
Jun 26, 2017
jeddy3
changed the title
False negative for semicolons followed by two comments in no-extra-semicolons
False negatives for semicolons followed by two comments in no-extra-semicolons
Jul 14, 2017
"no-extra-semicolons": true
is not error if the issue code is followed by 2 or more lines of comment. It's error if only followed by 1 comment line or none.no-extra-semicolons
This code not throw error.
This one does.
7.11.1
I'm using it with gulp. CLI is having the same issue.
LESS files.
It should throw an error.
It's not.
The text was updated successfully, but these errors were encountered: