Skip to content

V4 prefix function linting error #17936

@francisashley

Description

@francisashley

What version of Tailwind CSS are you using?

v4.1.5

What build tool (or framework if it abstracts the build tool) are you using?

vite 6.3.5

What version of Node.js are you using?

v20.16.0

What browser are you using?

Not a browser issue

What operating system are you using?

osx

Describe your issue

There are no issues running TailwindCSS V4 however VSCode displays a linting error for the new v4 prefix function. According to Biome this is not valid syntax. I'm not using Biome but just sharing that for reference.

Here is a screenshot of the issue:

Image

Any idea how to fix this?

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