feat: upgrade to Biome 2.4 with Tailwind support#86065
Open
bgub wants to merge 1 commit intovercel:canaryfrom
Open
feat: upgrade to Biome 2.4 with Tailwind support#86065bgub wants to merge 1 commit intovercel:canaryfrom
bgub wants to merge 1 commit intovercel:canaryfrom
Conversation
Member
|
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
Contributor
There was a problem hiding this comment.
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/biomedependency 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.tailwindDirectivesconfiguration 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.
5d8da4b to
6bd5f9f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!