typescript-styled-plugin icon indicating copy to clipboard operation
typescript-styled-plugin copied to clipboard

False positive on emptyRules with interpolation

Open JoseLion opened this issue 3 years ago • 0 comments

When a rule has any content from interpolation, it should not report the emptyRules error/warning. This seems to be a regression on https://github.com/microsoft/typescript-styled-plugin/issues/50, which is weird because it seems there are tests to cover this 🤔

Versions: @styled/typescript-styled-plugin: ^0.20.0 typescript: ^4.9.4

image

PS: The issue seems to be present in [email protected] too

JoseLion avatar Jan 09 '23 05:01 JoseLion