Skip to content

chore: align Biome config with pinned 2.4.14 and modern folder-ignore syntax#2834

Open
EduardF1 wants to merge 1 commit into
openapi-ts:mainfrom
EduardF1:chore/align-biome-config-2.4.14
Open

chore: align Biome config with pinned 2.4.14 and modern folder-ignore syntax#2834
EduardF1 wants to merge 1 commit into
openapi-ts:mainfrom
EduardF1:chore/align-biome-config-2.4.14

Conversation

@EduardF1

Copy link
Copy Markdown

What and why

The repo pins @biomejs/biome to 2.4.14 (see package.json), but every biome.json still declares the 2.3.14 $schema and uses the pre-2.2.0 !folder/** ignore syntax. Running the pinned CLI on a clean checkout surfaces config drift:

  • 5x schema-version-mismatch notices (The configuration schema version does not match the CLI version 2.4.14 -> Run the command biome migrate)
  • 5x lint/suspicious/useBiomeIgnoreFolder warnings (Since version 2.2.0, ignoring folders doesn't require the trailing /**)

This is the same lint surface contributor PRs hit (e.g. the biome check step in CI), so cleaning it up keeps the signal clean.

Changes

  • Bump $schema to 2.4.14 in the root config and all four package configs — exactly what biome migrate emits.
  • Adopt the new folder-ignore syntax via Biome's own safe fix:
    • openapi-fetch: !**/examples/** -> !**/examples, !test/**/schemas/** -> !test/**/schemas
    • openapi-react-query: !dist/** -> !dist, !test/fixtures/** -> !test/fixtures
    • openapi-typescript: !examples/** -> !examples
    • File-glob negations (!test/bench/**/*.min.js, !**/fixtures/**/*) are intentionally left unchanged.

Config-only; no source or ignore-semantics change (folder ignores keep the same meaning per Biome's safe fix).

Validation

$ npx @biomejs/biome@2.4.14 check biome.json packages/*/biome.json
# before: Found 5 warnings. Found 5 infos.
# after:  Checked 5 files. No fixes applied.   (clean)

The fixes were generated with biome check --write + biome migrate (schema bump), not hand-edited.

… syntax

The repo pins @biomejs/biome to 2.4.14, but every biome.json still declares the
2.3.14 \\\ and uses the pre-2.2.0 \!folder/**\ ignore syntax. Under the
pinned CLI this surfaces 5 schema-version mismatch notices and 5
lint/suspicious/useBiomeIgnoreFolder warnings on a clean checkout.

- bump \\\ to 2.4.14 in the root and all four package configs (what
  \�iome migrate\ emits)
- adopt the new folder-ignore syntax (\!dist/**\ -> \!dist\, etc.) via Biome's
  own safe fix; file-glob negations are left untouched

\�iome check\ on the config files is now clean. No source or ignore-semantics
change -- folder ignores keep the same meaning per Biome's safe fix.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@EduardF1 EduardF1 requested a review from a team as a code owner June 26, 2026 12:49
@EduardF1 EduardF1 requested a review from drwpow June 26, 2026 12:49
@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 6598770

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6598770

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant