moxie-lean / ng-web-app

Front-end component of a web app based on the modular LEAN concept.
http://getmoxied.net/lean
MIT License
6 stars 0 forks source link

Fix omega-resent lint issue #52

Closed mitogh closed 8 years ago

mitogh commented 8 years ago

Steps to reproduce and a minimal demo of the problem

Run npm run ci -s

Current behavior

There is a lint issue

Expected/desired behavior

No lint issue

Other information

@mixin omega-reset($nth) {
  &:nth-child(#{$nth}) { margin-right: flex-gutter(); }

  $has-n: str-index(#{$nth}, "n");
  @if $has-n != null {
    $nth: #{$nth} + 1;
  } @else {
    $nth: #{$nth + "n"} + 1
  }
  &:nth-child(#{$nth}) { clear: none }
}