inert-keyword

A CSS-wide keyword on a served class that no property it sets takes.

Message

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

[csszyx] inert-keyword: `<className>` sets no property to `<keyword>`: this project's Tailwind writes the keyword into a custom property or inside another value.
  help: set the CSS property to `'<keyword>'` in `css: { … }`; `csszyx check --rule inert-keyword` lists every one.
  note: the class is still emitted, and it styles nothing.
  docs: https://csszyx.com/e/inert-keyword

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'inert-keyword': '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
keywordstring