juanfran / gulp-scss-lint

Gulp plugin to lint scss files with `scss-lint`
113 stars 33 forks source link

Not respecting SelectorDepth in config file #15

Closed bigandy closed 9 years ago

bigandy commented 9 years ago

In my config file .scss-lint.yml I have the following:

SelectorDepth:
    enabled: true
    max_depth: 5

and when I have some sass that is 4 levels deep I get the following error: [W] Nesting should be no greater than 3, but was 4

even when I try to disable SelectorDepth it still is run. Any ideas?

bigandy commented 9 years ago

Ok, ignore me. I needed to set both NestingDepth and SelectorDepth.