Closed jsit closed 6 years ago
It's impossible to achieve.
In theory, or in the current implementation?
Sorry for a late response. It's impossible to achieve with the current implementation. And, I'm afraid, it will never be achieved because this request is quite unique.
If you wanted this feature to avoid error, when shorthand property overrides londhand property consider using declaration-block-no-shorthand-property-overrides.
Say I want this to be valid:
And I want this to be valid:
But I want this to be invalid:
In other words, I don't care whether
padding
ormargin
comes first, but I always want anymargin
properties to be in the same order.The config might look something like this:
This doesn't work, of course, but could something like it be made to work?