numeric-key

A numeric key, the mark of an array or spread passed as an sz object.

Message

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

[csszyx] numeric-key: `sz` received a numeric key `<key>`, and its value is ignored.
  help: pass an object of sz keys here; a numeric key usually means an array or a spread was passed in its place.
  docs: https://csszyx.com/e/numeric-key

Level

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