Nativescript: Enable -skipLibCheck by default on all templates

Created on 19 Jul 2019  路  1Comment  路  Source: NativeScript/NativeScript

Is your feature request related to a problem? Please describe.
https://github.com/nstudio/nativescript-loading-indicator/issues/1#issuecomment-512881780

Describe the solution you'd like
Add skipLibCheck: true to all templates from the CLI. No idea why that's not already done, large majority of users have no clue why their projects would want to analyze node_modules.

Describe alternatives you've considered
None.

Additional context
I'm tired of issues because people's projects analyze node_modules. So I guess, why doesn't the CLI default to this in the tsconfigs for all templates? By skipping libs, you also improve the performance during tsc for projects with a lot of deps and files to process. So there are multiple benefits.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

feature in progress ready for test

Most helpful comment

There is absolutely no benefit to doing a lib check on an app project. If the libs are incorrect or have conflicting types it may cause an irrelevant build failure.

>All comments

There is absolutely no benefit to doing a lib check on an app project. If the libs are incorrect or have conflicting types it may cause an irrelevant build failure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rogangriffin picture rogangriffin  路  3Comments

guillaume-roy picture guillaume-roy  路  3Comments

valentinstoychev picture valentinstoychev  路  3Comments

NickIliev picture NickIliev  路  3Comments

kn9ts picture kn9ts  路  3Comments