You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sortingbubbles Thanks for the report with details. I doubt this is likely a bug of some rule, but I need help identifying the cause. Can you please provide a minimal reproduction with our demo site?
Just to chime in - I'm guessing this is related to the other incorrect autofix issues with the declaration-block-no-redundant-longhand-properties autofix I introduced earlier? With a brief glance at the spec, the simple ordering logic that we use in the rule is incorrect.
Similar to the other autofixes related to the rule, I'm happy to help contribute (especially as I'll have much more time to work on Stylelint starting next week). I'll wait on a reproducible example before then!
What steps are needed to reproduce the bug?
In a vue project that has stylelint use the long syntax for grid-column and try to use stylelint --fix to correct it.
What Stylelint configuration is needed to reproduce the bug?
Our project's stylelint configuration:
Our reusable,
@company/stylelint-plugin
, stylelint configHow did you run Stylelint?
By running
lint-staged
:Which version of Stylelint or dependencies are you using?
What did you expect to happen?
The following rules:
to be transformed to
What actually happened?
The following rule:
was transformed to this:
Does the bug relate to non-standard syntax?
No, it's related to applying the standard syntax for grid-column inside a Vue component!
Proposal to fix the bug
No response
The text was updated successfully, but these errors were encountered: