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

Feature/mergeable selectors #256

Merged
merged 17 commits into from
Oct 7, 2015

Conversation

DanPurdy
Copy link
Member

@DanPurdy DanPurdy commented Oct 6, 2015

Add rule: no-mergeable-selectors which enforces the merging of selectors where possible.

A warning/error message is returned as follows if a selector is deemed mergeable:

Rule .image should be merged with the rule on line 194

There is a whitelist option available which prevents enforcement of this rule on specified selector patterns.
whitelist - array of selector names you would like this rule to ignore and not enforce the merging of.

closes #18

DCO 1.1 Signed-off-by: Dan Purdy danjpurdy@gmail.com

@DanPurdy DanPurdy added this to the 1.3.0 milestone Oct 6, 2015
@bgriffith
Copy link
Member

This is epic @DanPurdy 👍

@Snugug
Copy link
Member

Snugug commented Oct 7, 2015

Truly fantastic work. Merge it.

@DanPurdy DanPurdy deleted the feature/mergeable-selectors branch October 20, 2015 23:19
donabrams pushed a commit to donabrams/sass-lint that referenced this pull request Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Rule: Mergeable Selector
3 participants