-
-
Notifications
You must be signed in to change notification settings - Fork 929
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 splitList: bool to selector-nested-pattern #2430
Comments
Thank you for using a template. It's not a bug. From rule description:
|
It may be worth revisiting this now that nested patterns are officially supported in the CSS specification. The expression is annoying because you need to catch nested commas like: |
,
@laverdet Thanks for chiming in. It does seem cumbersome, especially as we recently turned on a rule in the standard config to encourage the use of the We can add an (Prehaps there's a better name?. Prior art is the I've labelled the issue as ready to implement. Please consider contributing if you have time. There are steps on how to add a new option in the Developer guide. |
A bug
selector-nested-pattern
e.g.
e.g.
7.1.0
CLI with
stylelint --config myconfig *.css
Yes, it's related to postcss/scss nesting
No warnings to be flagged.
The following warnings were flagged:
Expected nested selector ".foo, .bar" to match specified pattern selector-nested-pattern
The text was updated successfully, but these errors were encountered: