numeric-keyA numeric key, the mark of an array or spread passed as an sz object.
csszyx check lists it.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
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.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
key | string |