TypeStrong / fork-ts-checker-webpack-plugin

Webpack plugin that runs typescript type checker on a separate process.
MIT License
1.93k stars 238 forks source link

Use specific lerna module tsconfig on type checking #812

Open Krakof opened 1 year ago

Krakof commented 1 year ago

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

XavierLeTohic commented 4 months ago

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

Krakof commented 4 months ago

@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.