postcss-styled-syntax
postcss-styled-syntax copied to clipboard
Auto fix is not working with interpolation (${(props) ... })
When the interpolation (${(props) ... }) in code, auto fix is not working, but the error message is still displayed.
vs code settings:
- Correct repository for the Stylelint plugin is: https://github.com/hudochenkov/stylelint-order
- That's expected behavior: sometime it's not possible to safely reorder properties, so fix can't not be run, which means violation would be reported as it is still in the code. There are plans to allow sorting when it's safe to do.
- I'm using stylelint-config-recess-order to order styled-component css code.
- stylelint-order is not working for this
- Correct repository for the Stylelint plugin is: https://github.com/hudochenkov/stylelint-order
- That's expected behavior: sometime it's not possible to safely reorder properties, so fix can't not be run, which means violation would be reported as it is still in the code. There are plans to allow sorting when it's safe to do.
Wishing you good luck