question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tslint migration does not consider an extends property containing an array

See original GitHub issue

πŸš€ 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?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
alan-agius4commented, Mar 28, 2020

@sfabriece, there is already a PR for this: https://github.com/angular/angular-cli/pull/17323

Thanks anyways πŸ™‚

0reactions
angular-automatic-lock-bot[bot]commented, Apr 30, 2020

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating Angular projects from TSLint to ESLint and Prettier
Set up recommended ESLint rules configs. Open .eslintrc.json > "extended" property. Its array value may include ng-cli-compat.jsonΒ ...
Read more >
Migrate from TSLint to ESLint - Visual Studio Code
A guide to migrating extension projects from the TSLint linter to ESLint.
Read more >
How can I synchronise eslint or setup similar tslint and prettier ...
I've already setup my eslint configuration for the project which extends the airbnb eslint configurations. My eslint is as follows: module.
Read more >
tslint | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >
eslint-plugin-jsdoc - npm
Note that if you do not wish to use separate .eslintrc.* files for a project containing both JavaScript and TypeScript, you can also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found