[BUG] enforces-shorthand misbehaves with false-positive on non-redundant rounded
classes
#327
Labels
bug
Something isn't working
rounded
classes
#327
Describe the bug
enforces-shorthand
rule gets confused with different rounded classes, suggesting fixes that are not equivalent to original code.To Reproduce
Steps to reproduce the behavior:
rounded-b-xl
androunded-tr-xl
(rounded bottom and top-right);eslint-plugin-tailwindcss
with recommended settings;eslint --fix
;rounded-b-xl
androunded-tr-xl
) withrounded-r-xl
only.Expected behavior
No warning should be shown and no fix should be made as both classes are not redundant.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: