Skip to content

Tslint migration does not consider an extends property containing an array #17311

@sfabriece

Description

@sfabriece

🚀 Feature request

Command (mark with an x)

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

Description

Running ng update @angular/cli --migrate-only tslint-version-6

with a tslint config like this:

{
  "extends": [
    "tslint:recommended",
    "tslint-plugin-prettier",
    "tslint-config-prettier"
  ],
....

fails with

 tslint configuration does not extend "tslint:recommended".
    Migration will terminate as some rules might conflict.

The following file implements the migration.
https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/migrations/update-10/update-tslint.ts

Describe the solution you'd like

If you have a solution in mind, please describe it.

Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions