Skip to content

False positive on emptyRules with interpolation #4

Open
@JoseLion

Description

@JoseLion

When a rule has any content from interpolation, it should not report the emptyRules error/warning. This seems to be a regression on microsoft#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions