docs: document TypeScript 5.3 minimum supported version#20547
docs: document TypeScript 5.3 minimum supported version#20547mdjermanovic merged 4 commits intoeslint:mainfrom
Conversation
✅ Deploy Preview for docs-eslint canceled.
|
|
The TypeScript 6 beta was announced on Feb 11, 2026 and includes a list of Breaking Changes and Deprecations. I suggest to consider the wording:
which would include TypeScript 6. If you want to exclude TypeScript 6 you could write something like:
TypeScript 6 could be added later, after it has been released and can be added to ESLint's CI tests. |
Thanks for the heads‑up, @MikeMcC399. I tried installing
Once TypeScript 6 is officially released, it would make sense to update our entire build tooling to use it, while still running tests on TypeScript 5.3 also. If users start reporting issues on ESLint because they run into errors when upgrading to TypeScript 6, we could also consider adding troubleshooting instructions. But if a bug only appears with TypeScript 6, I think it would be better to address it rather than saying that TypeScript 6 isn't supported yet. So I don't think we should proactively limit compatibility to TypeScript 5. |
If there are no obvious major incompatibilities between the TypeScript 6 beta and ESLint, that sounds like a reasonable strategy. It's good that you were able to check. |
Prerequisites checklist
AI acknowledgment
What is the purpose of this pull request? (put an "X" next to an item)
[x] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
What changes did you make? (Give an overview)
I updated the documentation prerequisites to clarify that ESLint’s TypeScript type definitions require TypeScript 5.3 or later.
I also adjusted the CI type-test workflow to run the existing type tests against two TypeScript versions: the latest TypeScript 5.x, and the earliest publishable TypeScript 5.3.x on npm (5.3.2).
Fixes #19920
Is there anything you'd like reviewers to focus on?