inert-keywordA CSS-wide keyword on a served class that no property it sets takes.
csszyx check reports it in its dead-class pass.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
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.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
className | string | |
keyword | string |