Skip to content

feat: upgrade to Biome 2.4 with Tailwind support#86065

Open
bgub wants to merge 1 commit intovercel:canaryfrom
bgub:biome-tailwind
Open

feat: upgrade to Biome 2.4 with Tailwind support#86065
bgub wants to merge 1 commit intovercel:canaryfrom
bgub:biome-tailwind

Conversation

@bgub
Copy link
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
Member

ijjk commented Nov 13, 2025

Allow CI Workflow Run

  • approve CI run for commit: 01d2236

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
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 2 times, most recently from 5d8da4b to 6bd5f9f Compare February 18, 2026 18:38
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.

3 participants