allegro / typescript-strict-plugin

Typescript plugin that allows turning on strict mode in specific files or directories.
MIT License
332 stars 29 forks source link

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

Open Evilweed opened 2 years ago

Evilweed commented 2 years ago

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.

KostkaBrukowa commented 2 years ago

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?

Evilweed commented 2 years ago

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?