fisker Cheung
fisker Cheung
I changed my mind, let's delete the "clone+empty" case?
> Switching to ESM for typescript-estree would force us to switch our entire repo to ESM Sorry for not been clear, I didn't mean to stop supporting it been `require()`d,...
Did you find any browser not working with current stack?
We'll skip this.
I think it's already discussed in espree https://github.com/eslint/js/issues/488
As mentioned in [the Prettier 3.5 release note](https://prettier.io/blog/2025/02/09/3.5.0#add-support-for-typescript-config-files-16828-by-itsyoboieltr--fisker), maybe we can use ~`tsc`~`tsx` to run Prettier.
> @fisker probably meant `tsx`. Ah, yes that's what I mean. This extension can use `tsx` to support it, I think. Didn't notice this typo 😢 Thanks.
If `tsx` doesn't work, we can also find a way to pass a ts config loader to the Prettier Core, just let me know.
@BinToss If you are trying to fix this issue, you just need find a way to make `import(TS)` work, if it doesn't work, find a proper `loadTypescriptFile(TS)` function. I can...
Thanks for this issue. Good to know that only typescript>=5.5 supports it. Since typescript is a CommonJS module, it doesn't matters for other users, at least [ESBuild doesn't support tree-shaking...