Fix `declaration-block-no-shorthand-property-overrides` false negatives for logical properties and physical shorthands
Author: woody-liCreated Jul 30, 2026Updated Sep 25, 2026
Labelsstatus: needs investigation
What minimal example or steps are needed to reproduce the bug?
padding-inline: 5px;
padding: 10px;What minimal configuration is needed to reproduce the bug?
{
"rules": {
"declaration-block-no-shorthand-property-overrides": true
}
}How did you run Stylelint?
All ways.
Which Stylelint-related dependencies are you using?
"stylelint": "17.14.1"
What did you expect to happen?
Report problem:
Overridden property "padding-inline" by shorthand "padding" (declaration-block-no-shorthand-property-overrides)What actually happened?
No violation is reported.
Do you have a proposal to fix the bug?
No response
Source: stylelint/stylelint