Closed snebjorn closed 1 year ago
Could you make a repository with reproducible issue?
I'll cook something up :) Gimmi a few days
I also encountered this problem, order/properties-order
using null
to disable is invalid, css file still prompts order/properties-order
error
"rules": {
"order/properties-order": null
}
Please ask the maintainer to fix this issue
If you use stylelint-config-rational-order
you need to switch to something else. It's very outdated package and uses very old stylelint and stylelint-order: https://github.com/constverum/stylelint-config-rational-order/blob/843a487338a25de246fd2d346fd1caf63f1de8a5/package.json#L32-L35
I was able to reproduce the error in a minimal setup. See setup in the playground (note the playground fails because of the error)
It is indeed caused by stylelint-config-rational-order
Turning properties-order off by setting it to null
causes this error to be thrown when something is not sorted correctly.
A workaround is to
Also see
order
doesn't seem to have this issue.It's common practice in stylelint to set something to null to disable it. Please fix this error for when
order/properties-order
is set tonull