Skip to content

Bug: no-invalid-at-rules: Unknown descriptor 'themes' found for at-rule '@plugin' #493

Description

@kuchta

Environment

ESLint version: 10.6.0
@eslint/css version: 1.4.0
Node version: 22.22.2
Operating System: macOS 26.5

Which language are you using?

stylesheet

What did you do?

Configuring tailwind's daisyUI plugin fails on recent versions (I suppose from 1.3.x on) with this configuration:

@import "tailwindcss";

@plugin "daisyui" {
	themes: all;
}

What did you expect to happen?

No error

What actually happened?

Unknown descriptor 'themes' found for at-rule '@plugin' css/no-invalid-at-rules

Link to Minimal Reproducible Example

https://stackblitz.com/edit/stackblitz-starters-pyfuek9n?file=eslint.config.js

Participation

  • I am willing to submit a pull request for this issue.

AI acknowledgment

  • I did not use AI to generate this issue report.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

Additional comments

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcss-tree

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions