Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Project not specified to tslint #126

Description

@pelotom

When you first start a freshly-scaffolded app, the following warning flashes:

Warning: The 'no-use-before-declare' rule requires type infomation.

This is because --project is not being specified to tslint. It has the implication that any rules that require type information are disabled. In the ejected app's webpack config, adding

options: {
  typeCheck: true,
  tsConfigFile: paths.appTsConfig,
}

to the ts-loader config fixes it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions