dead-class

An emitted class this project's Tailwind generates no CSS for.

Message

A name in angle brackets is a value the message fills in.

[csszyx] dead-class: `<className>` produces no CSS: this project's Tailwind serves no such utility.
  help: fix the sz key or value, or define the class with Tailwind's `@utility`; `csszyx check --rule dead-class` lists every one.
  note: the class is still emitted, and it styles nothing.
  docs: https://csszyx.com/e/dead-class

Level

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

The level sets how the build and csszyx check report it. It does not change a console line, and it does not stop a thrown error.

Arguments

The values this diagnostic names.

NameType
classNamestring