fork-ts-checker-webpack-plugin icon indicating copy to clipboard operation
fork-ts-checker-webpack-plugin copied to clipboard

Use specific lerna module tsconfig on type checking

Open Krakof opened this issue 1 year ago • 3 comments

Hi, I work on a project with lerna. Each module mostly uses root tsconfig, but there are some cases when module's tsconfig extends the root one with additional options (e.g strict: true). Just wondering if it's possible on type checking step set corresponding module tsconfig. checking module1 -> using module1/tsconfig.json checking module2 -> using module2/tsconfig.json Thank you

Krakof avatar May 05 '23 13:05 Krakof

Hi @Krakof did you found any workaround for this? I am having the same problem here

XavierLeTohic avatar Feb 15 '24 16:02 XavierLeTohic

@XavierLeTohic Hi, we've started to use https://github.com/allegro/typescript-strict-plugin as a workaround, have added type check on pre-commit hook.

Krakof avatar Feb 19 '24 22:02 Krakof

I'm open for contributions :) I'm happy to hear you found a workaround :+1:

piotr-oles avatar Aug 17 '24 09:08 piotr-oles