Fix declaration-block-no-redundant-longhand-properties
autofix for border-width
shorthand
#6947
Labels
declaration-block-no-redundant-longhand-properties
autofix for border-width
shorthand
#6947
What steps are needed to reproduce the bug?
This syntax will raise the warning
Expected shorthand property "border-width" (declaration-block-no-redundant-longhand-properties)Stylelint[declaration-block-no-redundant-longhand-properties](https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties)
.It will be fixed to the following code. (The order of the original items is not relevant.)
If two values should be combined, this leads to the same error:
becomes:
What Stylelint configuration is needed to reproduce the bug?
{
"extends": [
"stylelint-config-standard"
]
}
How did you run Stylelint?
Stylelint demo
Which version of Stylelint or dependencies are you using?
stylelint@15.8.0
stylelint-config-standard@33.0.0
What did you expect to happen?
Should become:
If two values should be combined, this leads to the same error:
Should become:
What actually happened?
Wrongly becomes:
If two values should be combined, this leads to the same error:
Wrongly becomes:
Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
No response
The text was updated successfully, but these errors were encountered: