Skip to content

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

Open
EduardF1 wants to merge 2 commits 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 2 commits 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 130cd3d

@changeset-bot

changeset-bot Bot commented Jun 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 130cd3d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
openapi-fetch Patch
openapi-react-query Patch
openapi-typescript-helpers Patch
openapi-typescript Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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