When migrating, all rules from TSLint are ignored and didn't transfer to ESLint
See original GitHub issueTrying to migrate from TSLint to ESLint, but when running
ng g @angular-eslint/schematics:convert-tslint-to-eslint <project-name>
got an error:
Command failed: npm i -D tslint-to-eslint-config@2.4.0
Only works if this package is installed manually.
package | version |
---|---|
@angular-eslint/eslint-plugin-template | 13.2.1 |
@angular-eslint/template-parser | 13.2.1 |
@typescript-eslint/parser | 5.17.0 |
ESLint | 8.13.0 |
node | v16.14.0 |
Angular CLI: 13.3.3
Node: 16.14.0
Package Manager: npm 8.3.1
OS: darwin x64
Angular: 13.3.4
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1303.3
@angular-devkit/build-angular 13.3.3
@angular-devkit/core 13.3.3
@angular-devkit/schematics 13.3.3
@angular/cli 13.3.3
@angular/elements 13.3.3
@schematics/angular 13.3.3
ng-packagr 13.3.1
rxjs 6.6.7
typescript 4.6.3
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Migrating from TSLint to ESLint - Ninja Squad
A few tips on how to handle the migration from the deprecated TSLint to ESLint.
Read more >Unable to convert from TSLint to ESLint with tslint-to ... - GitHub
Hi guys, in this issue I described that I am not able to run the command to migrate from tslint to eslint.
Read more >Migrate from TSLint to ESLint - Visual Studio Code
A guide to migrating extension projects from the TSLint linter to ESLint. ... makes ESLint understand TypeScript, and adds some TypeScript-specific rules.
Read more >Migrating from tslint to eslint and from request to got (part 1)
Finally I browsed my code with the new rules, either fixing the new violations or adding rules for them. In the end, I...
Read more >Migrating from TSLint to ESLint - Medium
One of the rules in tslint:recommended is to always prefer strict equals. TSLint does't automatically fix this for us, so it throws an...
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 FreeTop 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
Top GitHub Comments
@EPolishchuk they aren’t ignored, they are included in your ESLint config already via the “extends” on our Angular CLI compat preset
@EPolishchuk cool glad you were able to resolve it 👍