-
Notifications
You must be signed in to change notification settings - Fork 9
Cannot read property 'first' of null #252
Comments
I am getting this some issue whenever I attempt to use a css var (--shared-height: 300px), it's for sure a linter issue. A solution to this has been elusive, if you found a way to solve there could you post what you did?
|
Has anybody found a workaround for this issue? |
I think I just removed the extension then reinstalled it and it worked, but I don't recall 100%. Now, though, I'd recommend ditching |
@scottbert , thanks bro. I think I'm gonna try stylelint. |
Supporting older sass-lint project and came accross this. For us it was css variables - Here is a quick solution for anyone wanting to get past the lint: Mixin: @mixin print-var($var, $val) {
#{$var}: $val;
} Usage: @include print-var(--some-css-var, $some-value); |
Linter fails to parse sass file.
This seems related to css variables. I've created a minimal test case that reproduces the error:
Gives the error:
The text was updated successfully, but these errors were encountered: