bracketed-valueA value wrapped in the brackets or parentheses csszyx writes itself.
csszyx check lists it.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
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.
The values this diagnostic names.
| Name | Type | |
|---|---|---|
form | 'unwrap' | 'escape' | |
key | string | |
value | string | |
inner | string |