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

[#197] - New rule to enforce nesting #298

Merged
merged 1 commit into from Jan 13, 2019

Conversation

lxsymington
Copy link
Contributor

Added a new rule called selector-nest-combinator as well as a README and tests.

Currently the only options are always and never. This rule may be more useful with more options, such as pseudo-only or exceptions such as attribute.

Added a new rule called `selector-nest-combinator` as well as a README
and tests.

Currently the only options are `always` and `never`. This rule may be more
useful with more options, such as `pseudo-only` or exceptions such as
`attribute`.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 92.263% when pulling 62952e8 on lxsymington:enforce-nesting into 3d2a23f on kristerkari:master.

@kristerkari
Copy link
Collaborator

Thanks a lot @lxsymington! I will try to review this as soon as possible.

Copy link
Collaborator

@kristerkari kristerkari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@kristerkari kristerkari merged commit 8496e03 into stylelint-scss:master Jan 13, 2019
@kristerkari
Copy link
Collaborator

Thanks again!

This is now available in v3.5.0

I also opened a new issue to add more rules to enforce nesting:
#299

@lxsymington
Copy link
Contributor Author

No problem! Thanks! I will try and have a look at that when I get some time.

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.

None yet

3 participants