Open ReturnMeVoid opened 1 month ago
Does not recognize component root styles as zero nesting level (considers the first open curly brackets as zero nesting level, as in a regular CSS file)
"ignore": ["pseudo-classes", "blockless-at-rules"] - does not work
"ignore": ["pseudo-classes", "blockless-at-rules"]
My config:
{ "extends": ["stylelint-config-standard"], "customSyntax": "postcss-styled-syntax", "max-nesting-depth": [0, { "ignore": ["pseudo-classes", "blockless-at-rules"] }] // Wanna forbid nesting exept at-rules and pseudo-classes }
Please, add better description. With examples, and preferably with reproduction repository.
Second problem you have is with Stylelint, I suppose. Are you sure you configured correctly?
Does not recognize component root styles as zero nesting level (considers the first open curly brackets as zero nesting level, as in a regular CSS file)
"ignore": ["pseudo-classes", "blockless-at-rules"]
- does not workMy config: