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:
- Created 3 years ago
- Reactions:1
- Comments:5
Top 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 >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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sfabriece, there is already a PR for this: https://github.com/angular/angular-cli/pull/17323
Thanks anyways π
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.