nesting-depthA file nested deeper than the parser guard allows.
csszyx check lists it.A name in angle brackets is a value the message fills in.
[csszyx] nesting-depth: Source nesting exceeds <maxNestingDepth> levels (found <depth>).
help: flatten the structure; nesting this deep usually comes from `sz` or JSX over-nested by hand or by generated code.
note: the file is left unchanged and contributes no classes.
docs: https://csszyx.com/e/nesting-depth
These values are worked out from the args:
<maxNestingDepth>: The engine's source nesting limit (MAX_SOURCE_NESTING_DEPTH).Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'nesting-depth': 'warn' }.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
depth | number |