numeric-font-weight

A font weight written as a numeric string.

Message

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

[csszyx] numeric-font-weight: `weight: '<value>'` is a numeric string, so `font-<value>` produces no CSS.
  help: write `weight: <value>` as a number; it emits `font-[<value>]`.
  docs: https://csszyx.com/e/numeric-font-weight

Level

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