eslint icon indicating copy to clipboard operation
eslint copied to clipboard

Change Request: remove support for jiti < 2.2.0

Open fasttime opened this issue 8 months ago • 1 comments

ESLint version

v9

What problem do you want to solve?

Currently ESLint requires jiti >= 2 to load TypeScript configuration files. Versions of jiti prior to 2.2.0 have issues that can cause compatibility problems when configs load certain plugins (see #19413). These versions have low download rates (https://github.com/eslint/eslint/pull/19697#discussion_r2077129444), and they add complexity to production logic and testing.

What do you think is the correct solution?

Remove support for jiti version before 2.2.0. Only jiti >= 2.2.0 should be supported.

Participation

  • [x] I am willing to submit a pull request for this change.

Additional comments

No response

fasttime avatar May 26 '25 09:05 fasttime

Since I’ve experienced similar issues while maintaining my own custom packages, I’m 👍 with this decision.

lumirlumir avatar May 28 '25 11:05 lumirlumir

Oops! It looks like we lost track of this issue. What do we want to do here? This issue will auto-close in 7 days without an update.

github-actions[bot] avatar Jun 27 '25 22:06 github-actions[bot]

Ping @eslint/eslint-tsc

lumirlumir avatar Jun 28 '25 09:06 lumirlumir

I think it makes sense to do this in the v10 timeframe. :+1:

nzakas avatar Jun 30 '25 15:06 nzakas

I don't see any objections, so marking as accepted. We can discuss the details during the implementation.

fasttime avatar Jul 16 '25 08:07 fasttime

TSC group has confirmed this for v10

sam3k avatar Jul 29 '25 01:07 sam3k

I could take this, if you'd want help?

michaelfaith avatar Aug 16 '25 21:08 michaelfaith

@michaelfaith go for it!

nzakas avatar Aug 18 '25 14:08 nzakas