Skip to content

noEmit and skipLibCheck should be on by default in TS compiler options #529

@slikts

Description

@slikts

This is a related issue to #352. The build script works with rollup.js, not tsc, so the noEmit option should be enabled by default. Users running npx tsc shouldn't expect to have to specify --noEmit, because using tsc is a normal part of TS development. Currently npx tsc will clutter the src directory with transpiled files, which can be difficult to clean up if there are uncommitted changes mixed in.

This is important because without tsc there is no way to do project-wide type checking. The build script will only stop at the first error. The test runner will report errors, but only for files that are tested, and it's also the wrong place for type checking (#521).

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: featureNew feature or requestkind: optimizationPerformance, space, size, etc improvementscope: templatesRelated to an init template, not necessarily to core (but could influence core)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions