Skip to content

defaultVariants should be ignored by Tailwind IntelliSense #25

@petvi

Description

@petvi

I noticed defaultVariants properties are being intellisensed by the TailwindCSS IntelliSense Extension when using the settings snippet provided in the docs:

{
  "tailwindCSS.experimental.classRegex": [
    ["tv\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
  ]
}

These properties already have the TS types inferred correctly, so I think the RegEx simply needs to be updated to ignore this property.

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