non-variant-object

An object on a csszyx-owned key that is not a variant.

Message

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

[csszyx] non-variant-object: `<key>` is not a variant, so its object emits `<key>:` classes that produce no CSS.
  help: a `--*` key takes a declaration value; `container` takes `true`.
  docs: https://csszyx.com/e/non-variant-object

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'non-variant-object': '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
keystring