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

Gonzales 3.2 - Fix no mergeable selectors #556

Conversation

DanPurdy
Copy link
Member

@DanPurdy DanPurdy commented Mar 2, 2016

Last rule update for gonzales 3.2 incoming! Sorry it took so long to get round to..

Fixes the no-mergeable-selectors rule for gonzales 3.2 and also closes #495 and #339 and #307 while we're at it.

Warning messages stay the same but most of the method for this has changed and attaches itself to the root stylesheet traverse of gonzales so should be easier to extend/fix in the future.

Please note though that Sass syntax still has some fairly serious issues, which we get around in this rule by ignoring at rules completely whereas scss format will report on them.

All tests now passing!

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

});
else if (val.is('atkeyword') ) {
content = constructSubSelector(val, '@', '', constructSelector);

Copy link
Member

Choose a reason for hiding this comment

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

Unnecessary whitespace

@DanPurdy
Copy link
Member Author

DanPurdy commented Mar 2, 2016

Also fixes #559

bgriffith added a commit that referenced this pull request Mar 2, 2016
@bgriffith bgriffith merged commit 8571bb5 into sasstools:feature/gonzales-3-develop Mar 2, 2016
@benthemonkey
Copy link
Member

👍 👍 👍 👍 👍 👍 👍 👍 👍

@DanPurdy DanPurdy deleted the feature/3.2-no-mergeable-selectors branch April 22, 2016 14:36
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.

3 participants