Skip to content

ng update should have removed tslint setting no-use-before-declare #17117

@johnpapa

Description

@johnpapa

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

I ran ng update to v9. Then I ran npm run lint. I received this error

▶npm run lint

> heroes-angular@0.0.0 lint /Users/papa/_git/heroes-angular
> ng lint

Linting "heroes-angular"...
no-use-before-declare is deprecated. Since TypeScript 2.9. Please use the built-in compiler checks instead.
All files pass linting.

It seems I had a legacy setting in tslint.json for "no-use-before-declare": true,

It would be great if the ng update removed any deprecated tslint settings.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions