-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Description
Link to the code that reproduces this issue
https://github.com/sattarrasouli/nextjs-15.5-issue-biome.git
To Reproduce
npm install
npm run lint
Current vs. Expected behavior
[email protected] lint
biome check
src/app/globals.css:8:2 lint/suspicious/noUnknownAtRules ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Unexpected unknown at-rule: theme
6 │ }
7 │
8 │ @theme inline {
│ ^^^^^
9 │ --color-background: var(--background);
10 │ --color-foreground: var(--foreground);
ℹ theme is not a standard CSS at-rule, which may lead to unexpected styling results or failure to interpret the styles as intended.
ℹ See MDN web docs for a known list of at-rules.
ℹ To fix this issue, consider removing the unknown at-rule.
Checked 8 files in 3ms. No fixes applied.
Found 1 error.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Some errors were emitted while running checks.
Provide environment information
Apple mac book m2 proWhich area(s) are affected? (Select all that apply)
CSS and biome
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
i've just comment out this part @theme in globals.css, lint passed
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}