You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Tony, thank you for all your awesome work on this and on CSSComb. My question does concern CSSComb but I'm pretty sure I can solve it myself once I learn how to add a new rule to gonzales-pe, more specifically I need to differentiate between @include one-liners like
This is actually already implemented internally by the standard checkInclude(i) function in the rules.js portion for SCSS by this function
/**
* Check if token is part of an included mixin like `@include nani(foo) {...}`
* @param {Number} i Token's index number
* @returns {Number} Length of the include
*/
function checkInclude1(i) { ...
I would just need to make a rule to make this check seperately without lumping in all the other @include cases. In CSSComb, I could then do something like
I have tried hacking this in but I never made it execute up to the point of my custom function. I'm a total node.js noob unfortunately. Any help on this would be immensely appreciated, CSSComb now does almost everything I need perfectly :)
The text was updated successfully, but these errors were encountered:
Hey Tony, thank you for all your awesome work on this and on CSSComb. My question does concern CSSComb but I'm pretty sure I can solve it myself once I learn how to add a new rule to gonzales-pe, more specifically I need to differentiate between @include one-liners like
and multi-line includes like
This is actually already implemented internally by the standard checkInclude(i) function in the rules.js portion for SCSS by this function
I would just need to make a rule to make this check seperately without lumping in all the other @include cases. In CSSComb, I could then do something like
I have tried hacking this in but I never made it execute up to the point of my custom function. I'm a total node.js noob unfortunately. Any help on this would be immensely appreciated, CSSComb now does almost everything I need perfectly :)
The text was updated successfully, but these errors were encountered: