Skip to content

Conversation

@edwin-shdw
Copy link
Contributor

This PR fixes a false positive for nesting-selector-no-missing-scoping-root where parent selectors inside mixins would be considered as error even tho they are legal there (as long as the associated @include is used in a propper scope + SASS compiler will catch non-propper use anyway).

Affected rule: nesting-selector-no-missing-scoping-root
Testing for nesting-selector-no-missing-scoping-root
@kristerkari
Copy link
Collaborator

Thanks @edwin-shdw !

@kristerkari kristerkari merged commit c554a0e into stylelint-scss:master Sep 11, 2025
6 checks passed
@kristerkari
Copy link
Collaborator

Released as 16.0.1:
https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases/tag/v16.0.1

@edwin-shdw edwin-shdw deleted the fix/nesting-selector-no-missing-scoping-root branch September 12, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

False positive for nesting-selector-no-missing-scoping-root when using SASS at-rules

2 participants