typescript-strict-plugin icon indicating copy to clipboard operation
typescript-strict-plugin copied to clipboard

Make tsc --project ./tsconfig.json show fails without using "yarn tsc-strics"

Open Evilweed opened this issue 3 years ago • 2 comments

Make tsc --project ./tsconfig.json show fails (if your plugin is added) without the need to use "yarn tsc-strics".

Having separate CLI to show errors for strict files creates many problems.

  • Not easy parralelisation
  • Need to have separate watch the same files (which uses CPU and so on)
  • Need to have separate view to see those errors

Evilweed avatar Feb 17 '22 15:02 Evilweed

I don't think it's really possible. Plugins are only for the language server to show errors inside the IDE's and we don't have really a way to make tsc to show fails on the files with strict errors. Do you have any idea how could we do this?

KostkaBrukowa avatar Feb 18 '22 07:02 KostkaBrukowa

That's sad :( Maybe a wrapper on top of tsc that runs tsc and tsc-strics in parallel and then at the end combine both reports into one? So that we run just one command, and have one output that we need to follow?

Evilweed avatar Feb 20 '22 16:02 Evilweed