Skip to content

Redundant compiler options in template tsconfigs #619

@slikts

Description

@slikts

There are a number of redundant compiler options in the current tsconfig.json, and it could be cleaned up or simplified by removing them.

strict already enables noImplicitAny, noImplicitThis, alwaysStrict, strictNullChecks, strictFunctionTypes and strictPropertyInitialization.

noUnusedLocals and noUnusedParameters overlap with the @typescript-eslint/no-unused-vars ESLint rule, which results in duplicate errors in the editor (after the user fixes this notable issue):

image

This means, for example, that using the Go to Next Problem or Go to Previous Problem in the editor require being used twice to move past the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomescope: 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