bracketed-value

A value wrapped in the brackets or parentheses csszyx writes itself.

Message

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

unwrap

[csszyx] bracketed-value: `<key>: '<value>'` wraps its value in brackets or parentheses, which csszyx writes itself, so nothing is emitted for it.
  help: write `<key>: '<inner>'`.
  docs: https://csszyx.com/e/bracketed-value

escape

[csszyx] bracketed-value: `<key>: '<value>'` wraps its value in brackets or parentheses, which csszyx writes itself, so nothing is emitted for it.
  help: write the declaration in `css: { … }`, or the class in `className`, with every bracket in a pair; the brackets inside are part of the value.
  docs: https://csszyx.com/e/bracketed-value

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'bracketed-value': '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'unwrap' | 'escape'
keystring
valuestring
innerstring