nesting-depth

A file nested deeper than the parser guard allows.

Message

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:

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'nesting-depth': 'warn' }.

Arguments

The values this diagnostic names.

NameType
depthnumber