Skip to content

[cna] Upgrade to Biome 2.4 with Tailwind support#86065

Merged
eps1lon merged 1 commit intovercel:canaryfrom
bgub:biome-tailwind
Mar 27, 2026
Merged

[cna] Upgrade to Biome 2.4 with Tailwind support#86065
eps1lon merged 1 commit intovercel:canaryfrom
bgub:biome-tailwind

Conversation

@bgub
Copy link
Copy Markdown
Contributor

@bgub bgub commented Nov 13, 2025

Biome 2.3.x added support for parsing Tailwind v4 directives (biomejs/biome#7164).

In the past, we disabled the "noUnknownAtRules" linting rule entirely (#83059). Now we should be able to re-enable it!

@ijjk ijjk added create-next-app Related to our CLI tool for quickly starting a new Next.js application. tests labels Nov 13, 2025
@ijjk
Copy link
Copy Markdown
Member

ijjk commented Nov 13, 2025

Allow CI Workflow Run

  • approve CI run for commit: 22317f2

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copilot AI review requested due to automatic review settings February 18, 2026 04:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades Biome from version 2.2.0 to 2.4.2 across all create-next-app templates to enable Tailwind v4 directive parsing support. The upgrade allows re-enabling the "noUnknownAtRules" linting rule that was previously disabled to work around Biome's lack of Tailwind support.

Changes:

  • Upgraded @biomejs/biome dependency from 2.2.0 to 2.4.2
  • Updated schema URLs in all biome.json configuration files to version 2.4.2
  • Added css.parser.tailwindDirectives configuration to all Tailwind templates (-tw suffix)
  • Removed suspicious.noUnknownAtRules: "off" override from Tailwind templates

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.

File Description
packages/create-next-app/templates/index.ts Updates Biome dependency to 2.4.2
test/integration/create-next-app/snapshots/biome-config.test.ts.snap Updates test snapshot with new schema version
packages/create-next-app/templates/*/biome.json (all templates) Updates schema URL to 2.4.2
packages/create-next-app/templates/-tw/biome.json (Tailwind templates) Adds tailwindDirectives parser setting and removes noUnknownAtRules override

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bgub bgub changed the title feat: upgrade to Biome 2.3 with Tailwind support feat: upgrade to Biome 2.4 with Tailwind support Feb 18, 2026
@bgub bgub force-pushed the biome-tailwind branch 3 times, most recently from 6bd5f9f to 01d2236 Compare February 18, 2026 20:56
@bgub bgub force-pushed the biome-tailwind branch from 01d2236 to d03ef5c Compare March 1, 2026 04:28
@nextjs-bot
Copy link
Copy Markdown
Collaborator

nextjs-bot commented Mar 1, 2026

Failing test suites

Commit: 86ccdfa | About building and testing Next.js

@eps1lon eps1lon changed the title feat: upgrade to Biome 2.4 with Tailwind support [cna] Upgrade to Biome 2.4 with Tailwind support Mar 26, 2026
@bgub

This comment was marked as resolved.

@eps1lon eps1lon enabled auto-merge (squash) March 26, 2026 23:51
@eps1lon eps1lon disabled auto-merge March 27, 2026 14:20
@eps1lon eps1lon merged commit 3cbf85d into vercel:canary Mar 27, 2026
512 of 525 checks passed
@eps1lon
Copy link
Copy Markdown
Member

eps1lon commented Mar 27, 2026

Failures are unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-next-app Related to our CLI tool for quickly starting a new Next.js application. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants