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/css#269

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

N/A

@eslintbot eslintbot added this to Triage Sep 22, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Sep 22, 2025
@lumirlumir lumirlumir requested a review from a team September 22, 2025 13:41
@lumirlumir lumirlumir changed the title chore: correct include pattern for test files in tsconfig.json chore: fix include pattern for test files in tsconfig.json Sep 22, 2025
"mocha": "^11.3.0",
"prettier": "^3.4.1",
"rollup": "^4.41.0",
"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

@aladdin-add aladdin-add merged commit 22d46bc 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