Skip to content

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Sep 22, 2025

Prerequisites checklist

What is the purpose of this pull request?

In this PR, I've corrected include pattern for test files in tsconfig.json.

The current glob pattern with {} isn't supported by tsconfig.json.

As a result, intentionally failing a type test and running npm run test:types doesn't report type errors because tsconfig.json doesn't recognize that syntax as a glob pattern.

Ref: https://www.typescriptlang.org/tsconfig/#include

image

What changes did you make? (Give an overview)

In this PR, I've corrected include pattern for test files in tsconfig.json.

Related Issues

Ref: eslint/json#154

Is there anything you'd like reviewers to focus on?

N/A

"mocha": "^11.0.0",
"prettier": "^3.6.0",
"rollup": "^4.16.2",
"rollup": "4.51.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

Currently, Bun CI on Windows is failing due to the newly released Rollup 4.52.0.

As a workaround, I've pinned Rollup to 4.51.0.

Here are the references:

image

https://github.com/eslint/json/actions/runs/17880724585/job/50848015767

@lumirlumir lumirlumir marked this pull request as ready for review September 22, 2025 13:56
@lumirlumir lumirlumir requested a review from a team September 22, 2025 13:57
@aladdin-add
Copy link
Member

fyi: microsoft/TypeScript#47001

@aladdin-add aladdin-add merged commit 21c212d into main Sep 22, 2025
22 checks passed
@aladdin-add aladdin-add deleted the chore-fix-incorrect-tsconfig-syntax branch September 22, 2025 14:18
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants