csscomb / csscomb.js

CSS coding style formatter
http://csscomb.com/
MIT License
3.29k stars 457 forks source link

SCSS code sample generates a Gonzales PE error #481

Closed prettydiff closed 5 years ago

prettydiff commented 8 years ago

https://github.com/Glavin001/atom-beautify/issues/1129

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36824592-scss-code-sample-generates-a-gonzales-pe-error?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).
tomagladiator commented 8 years ago

I find this too, csscomb doesn't like interpolation:

.bg-#{$color} {
    ...
}
sergey-kozlov commented 7 years ago

Please check the validity of the block starting from line #13

11 | &__content { 12 | @include fading-show('hidden'); 13*| margin: $gutter-half #{-$gutter-half} 0; 14 | padding: $gutter-half; 15 | background: $contentColor;

Gonzales PE version: 3.0.0-28 Syntax: scss CSScomb Core version: 3.0.0-3

This is CSScomb or Gonzales bug?

thejamespower commented 7 years ago

CSSComb bug caused by an outdated version of Gonzales. See here.

jdalton commented 5 years ago

This should be fixed with the latest release 🎉