-
-
Notifications
You must be signed in to change notification settings - Fork 927
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 declaration-colon-space-before #3445
Add autofix to declaration-colon-space-before #3445
Conversation
fix: context.fix | ||
? decl => { | ||
if (expectation === "always") { | ||
decl.raws.between = decl.raws.between.replace(/^\s*:/, " :"); |
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 if i have comment display/*comment*/:/*comment*/block;
? Please add test
@evilebottnawi Thank you for review! |
declaration-colon-space-before
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.
@ota-meshi Thanks, LGTM!
declaration-colon-space-before
in #2829ex.
option:
always
code:
fixed:
option:
never
code:
fixed: