Skip to content

refactor: update TypeScript to v6#409

Open
lumirlumir wants to merge 7 commits intomainfrom
refactor/update-typescript-to-v6
Open

refactor: update TypeScript to v6#409
lumirlumir wants to merge 7 commits intomainfrom
refactor/update-typescript-to-v6

Conversation

@lumirlumir
Copy link
Copy Markdown
Member

@lumirlumir lumirlumir commented Mar 25, 2026

Prerequisites checklist

AI acknowledgment

  • I did not use AI to generate this PR.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.

What is the purpose of this pull request?

Note

This PR follows the same strategy used in eslint/json#224 and eslint/json#230.

This PR updates TypeScript to v6.

The following two changes mainly affected us during the upgrade to TypeScript v6.

  • strict mode is now the default.

https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/#simple-default-changes

image
  • rootdir now defaults to .

https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/#rootdir-now-defaults-to-.

image

What changes did you make? (Give an overview)

I've tried to retain strict mode behavior as much as possible and only disabled it where it produced too many errors.

However, unlike the JSON and Markdown updates, the noImplicitAny option produced too many errors to address in this PR, so I've turned it off in this case.

Related Issues

Refs: eslint/json#224, eslint/json#230

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

N/A

@github-project-automation github-project-automation Bot moved this to Needs Triage in Triage Mar 25, 2026
@lumirlumir lumirlumir moved this from Needs Triage to Implementing in Triage Mar 25, 2026
@github-actions

This comment was marked as resolved.

@github-actions github-actions Bot added the Stale label Apr 6, 2026
@lumirlumir lumirlumir added accepted There is consensus among the team that this change meets the criteria for inclusion and removed Stale labels Apr 9, 2026
@lumirlumir lumirlumir moved this from Implementing to Needs Triage in Triage Apr 27, 2026
@lumirlumir lumirlumir marked this pull request as ready for review April 27, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted There is consensus among the team that this change meets the criteria for inclusion chore

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant