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
Fix incorrect column and escaped colons for selector-pseudo-element-colon-notation
rule
#5879
Fix incorrect column and escaped colons for selector-pseudo-element-colon-notation
rule
#5879
Conversation
…colon-notation` rule Replacing `style-search` with `postcss-selector-parser`.
} catch { | ||
result.warn('Cannot parse selector', { node, stylelintType: 'parseError' }); | ||
} catch (err) { | ||
result.warn(`Cannot parse selector (${err})`, { node, stylelintType: 'parseError' }); |
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.
[note] It is hard to investigate a raised error in callback
unless err
.
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.
Great to see this bug fixed, and much cleaner code using the parser.
LGTM!
@jeddy3 Oh, thank you for your quick review! |
@jeddy3 Can we merge this PR? Or, are more approvals needed? |
I think we can merge refactoring pull requests with one review (even if they also fix a bug and need a changelog entry). So go ahead and merge. |
I got it. 👍🏼 Updated changelog:
|
…colon-notation` rule (stylelint#5879)
Replacing
style-search
withpostcss-selector-parser
.