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 selector-max-type
end positions
#7518
Fix selector-max-type
end positions
#7518
Conversation
🦋 Changeset detectedLatest commit: edbe05e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
selector-max-type
selector-max-type
(non-breaking)
{ | ||
code: '.foo { [&] {} }', | ||
}, |
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.
This selector is still bogus as explained in : https://github.com/stylelint/stylelint/pull/7509/files#r1474906773
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.
ref https://stackoverflow.com/q/925994/248058
i.e. it's not a valid attribute name hence it will produce an SCSS error
…s--intuitive-zebra-shark-1943afb496
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.
@romainmenke Thanks for the pull request. Can you go on? I think this PR can be released as a patch version.
…s--intuitive-zebra-shark-1943afb496
selector-max-type
(non-breaking)selector-max-type
This comment was marked as resolved.
This comment was marked as resolved.
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
I wonder why there's no ignore option for the subsequent/general sibling combinator.
I'm unsure, but I guess there are no requests from people. |
selector-max-type
selector-max-type
end positions
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
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.
I've left several refactoring suggestions, so can you take a look at them?
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
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 work! Thank you! 👍🏼
@Mouvedia Do you have any other thoughts? |
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.
@Mouvedia Do you have any other thoughts?
Not much.
LGTM
…6' of https://github.com/stylelint/stylelint into selector-end-positions--intuitive-zebra-shark-1943afb496
Thank you @ybiquitous, @Mouvedia for all the feedback and help 🙇 |
See : #6234
See : #7509
No, it's self-explanatory.