property-object

An object on a key that names a property, not a variant.

Message

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

[csszyx] property-object: `<key>` sets a property and is not a variant, so its object `{ <nestedKeys> }` emits `<key>:*` classes that produce no CSS.
  help: move the nested keys up a level; for colour opacity, write `{ color: '…', op: … }`.
  docs: https://csszyx.com/e/property-object

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'property-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
nestedKeysstring[]