Skip to content
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

Stylelint pattern for selector-nested-pattern doesn't match valid selectors #416

Open
fabiankaegy opened this issue Jul 15, 2024 · 1 comment

Comments

@fabiankaegy
Copy link
Member

The pattern we have in place for the selector-nested-pattern rule are not currently allowing :where( .something & ) selectors which are pretty important when you need to avoid overly specific styles. We should update the pattern to allow for these.

@fabiankaegy
Copy link
Member Author

We discussed this in the Toolkit Working group. What we landed on is that we would look into potentially removing this check entirely because it is matching way too many false posives...

Alternatively we could update it to only error for attempts to use the & for string concatination which is not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant