-
Notifications
You must be signed in to change notification settings - Fork 533
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
Space after Comma syntax error… #89
Comments
Could you send us some of your sass/scss to reproduce this please? |
@DanPurdy trying to track that down now, lots of files… Any quick way to see what file is failing? |
Sorry, that was easier than I thought, found the file… It is failing on Sass is: @mixin app-sidebar-nav-item (
$border: true, // Determines if the nav should have a border
$font-size: $app-sidebar-font-size, // Sets the font size
$padding: true, // Determines if padding should be applied
$truncate : true, // Determines if text should be truncated
$hover: true, // Determines if hover state should be applied
$active: true, // Determines if active state should be applied
$hilite: true, // Determines if hilite (hilite = currently selected or is-active state) state should be applied
$animate: true // Determines if transition should be applied
) { |
@tbremer Thanks! Have you just moved over to using sass-lint or was it only when you added the above that it broke? |
Testing out moving from Ruby sass-lint to your module… So, this all currently passes in brigade/scss-lint |
Awesome, will take a look. Thanks. |
It appears to be failing, essentially, because there isn't a 'next' on that same line (I could be reading the source wrong and I don't know much about this AST). It'd be simple enough (but I'd worry about missing something) to wrap add another condition to the ast.traverseByType('operator', function (operator, i, parent) {
var next;
if (operator.content === ',') {
next = parent.content[i + 1];
if (next !== undefined && next.is('space')) {
…
} else {
…
}
…
}
});
return result; |
I think this issue was related to tonyganch/gonzales-pe#88. |
Calling module within JS file
Using Gulp task
The text was updated successfully, but these errors were encountered: