-
Notifications
You must be signed in to change notification settings - Fork 527
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
class-name-format not working with variable interpolation #952
Comments
I'll double check this, shouldn't be throwing any issues here. |
Is there an update on this bug? |
Poke @DanPurdy |
Sorry for this insane delay, life getting in the way of things... I will check this in #1131 as we should be ignoring interpolated classnames in the next release. |
Yup, just run it in the tests this doesn't throw the error anymore. WIll mark it as fixed with that PR but give it a final test before we release it. Sorry again for the delay. |
Released in 1.12.0 |
I am using
gulp-sass-lint v1.3.2
withsass-lint v1.10.2
.For the following code:
(from foundation-sites / grid/_classes.scss)
The following warning is throw on
&.#{$gutter}-#{$breakpoint}
:The sass-lint config is :
(from .sass-lint.yml)
Sass-lint seems to ignore variable interpolation, and so consider the variable name as
.-
. I expectclass-name-format
to consider the class name as\.(.*)\-(.*)
for the regex check.The text was updated successfully, but these errors were encountered: