Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Implement "Nesting Depth" lint rule #11

Open
srawlins opened this issue Jul 6, 2018 · 0 comments
Open

Implement "Nesting Depth" lint rule #11

srawlins opened this issue Jul 6, 2018 · 0 comments

Comments

@srawlins
Copy link
Collaborator

srawlins commented Jul 6, 2018

Need to implement a lint rule that reports style rules that are too deep, in terms of Sass nesting (not selector specificity):

p.foo {
  .bar {
    .error {
      .severe { // LINT
        color: red;
      }
    }
  }
}

This is similar to scss-lint's NestingDepth.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant