-
Notifications
You must be signed in to change notification settings - Fork 66
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
Sass @at-rule embedding issue #193
Labels
Comments
Another example just popped up @mixin media-breakpoint-notebook
@media (max-width: 1280px) and (min-width: 1024px)
@content
// $noop: 0 // hide sass-lint false error
@mixin media-breakpoint-msie-10-11
@media (-ms-high-contrast: none), (-ms-high-contrast: active)
@content
If you uncomment the line then normal service is resumed! @mixin media-breakpoint-notebook
@media (max-width: 1280px) and (min-width: 1024px)
@content
$noop: 0 // hide sass-lint false error
@mixin media-breakpoint-msie-10-11
@media (-ms-high-contrast: none), (-ms-high-contrast: active)
@content
|
I rewrote part which marked where blocks ended and it should have fixed similar issues. First example: @function hello($value)
@return $value
@function world($value)
@return $value
|
@tonyganch May we please have a release of this fix? I've been using it with sass-lint@1.10.2 on a few codebases, and it would mean sasstools/sass-lint#1084 can be closed. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's an issue with the Sass syntax where an at-rule immediately following an at-rule on the same level (siblings) is actually interpreted as a child node.
happens with media queries, mixins etc too so all at-rules seem equally affected such as with the following example
The text was updated successfully, but these errors were encountered: