-
-
Notifications
You must be signed in to change notification settings - Fork 942
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
Add autofix to comment-whitespace-inside #3619
Add autofix to comment-whitespace-inside #3619
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about?
/*
*Comments
*Comments
*Comments
*
*/
@evilebottnawi your test case is covered by these: stylelint/lib/rules/comment-whitespace-inside/__tests__/index.js Lines 178 to 191 in bc76769
This rule doesn't check for spaces for "*" outside of opening/closing construction. |
@hudochenkov i think better add this case to tests |
What should exactly that test case test? Your example has no violations with |
|
@evilebottnawi but there is no violations in case with |
@boccob there is a violation in @evilebottnawi's test case for |
@hudochenkov that's true but |
I added two more test cases |
@evilebottnawi Does this now address your feedback? |
@evilebottnawi can you check this PR again please? |
A second thumbs up we can get this merged... |
|
Closes #3609
e.g. "No, it's self explanatory."
example:
option:
always
code
/** comment**/
fixed
/** comment **/
option:
never
code
/** comment**/
fixed
/**comment**/