Skip to content

Nesting Depth does not detect selectors on the same line #85

@acarnwath

Description

@acarnwath

This throws the warning correctly:

.super {
	.deep {
		.selector {
			.that {
				.just .keeps .going {
					color: red;
				}
			}
		}
	}
}

Nesting depth 4 greater than max of 3

This does not:

.super .deep .selector .that .just .keeps .going {
	color: red;
}

I would expect both of them to throw the error, since the output is the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions