canonical-key

An alias of a key, with the canonical spelling to write.

Message

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

alias

[csszyx] canonical-key: `<key>` is an alias of `<canonical>`, and nothing is emitted for it.
  help: write `<canonical>`.
  docs: https://csszyx.com/e/canonical-key

font

[csszyx] canonical-key: `<key>` is not an sz key, and nothing is emitted for it.
  help: write `weight` for the font weight, or `fontFamily` for the font family.
  docs: https://csszyx.com/e/canonical-key

scrollbar-color

[csszyx] canonical-key: `<key>` is not an sz key, and nothing is emitted for it.
  help: write `scrollbarThumb` for the thumb colour, or `scrollbarTrack` for the track colour.
  docs: https://csszyx.com/e/canonical-key

These values are worked out from the args:

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'canonical-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
form'alias' | 'font' | 'scrollbar-color'
keystring