-
Notifications
You must be signed in to change notification settings - Fork 528
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
Nested map causes error #531
Comments
This works: $base-colors: (
'blue': #00f,
'red': #f00,
); |
Oh, seems like nesting in general creates this error. Same error for this: .footer {
.bottom {
display: block;
}
} |
Sorry but there must be something else going on here. I've tested your examples and both work. We have countless examples of nested blocks in our tests too. What version of sass-lint are you using? |
I'm using |
Yep. What platform are you working on? Windows? OSX? hard tabs / soft tabs? |
Running on Windows 10 64-bit, Node 5.6.0, using hard tabs. |
Ok, could you try soft tabs/spaces in that file and see if you get the same error? I;ve got a feeling it will be down to the hard tabs not working correctly in the current version of our AST. If it is this then #495 will look to fix it. |
True, spaces work. |
Ok, I'll label this as an AST issue for now then. It's a long standing problem that we should see eliminated in our 1.6.0 update which will land once i get round to finishing our last rule update. |
Thanks! :) |
No problem, thanks for the report 👍 |
@thasmo Fixed in 1.6 |
Yay, awesome! |
Using
gulp-sass-lint
this SCSS ...... causes this error:
The text was updated successfully, but these errors were encountered: