Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDifferent tslint typedef behavior between migration and generation #18465
Comments
With this change we add a migration to add the `typedef` tslint rule. Since this rule doesn't come with an fixer, the migratioin will add a comment to disable tslint line on the next line when we find possible linting failures. Closes angular#18465
With this change we add a migration to add the `typedef` tslint rule. Since this rule doesn't come with an fixer, the migratioin will add a comment to disable tslint line on the next line when we find possible linting failures. Closes angular#18465
With this change we add a migration to add the `typedef` tslint rule. Since this rule doesn't come with an fixer, the migratioin will add a comment to disable tslint line on the next line when we find possible linting failures. Closes angular#18465
With this change we add a migration to add the `typedef` tslint rule. Since this rule doesn't come with an fixer, the migratioin will add a comment to disable tslint line on the next line when we find possible linting failures. Closes angular#18465
With this change we add a migration to add the `typedef` tslint rule. Since this rule doesn't come with an fixer, the migratioin will add a comment to disable tslint line on the next line when we find possible linting failures. Closes angular#18465


Command (mark with an
x)Description
When migrating from Angular 9 using
ng update @angular/core @angular/clithetypedefrule is not added to tslint.json.When generating a new project in Angular 10, the
typedefrule is added.It seems that
typedefshould be added with Angular 10 #17821Migration
npm i -g @angular/cli@v9-ltsng new <project_name>ng update @angular/core @angular/cliGeneration
npm i -g @angular/cli@latestng new <project_name>Check difference in
tslint.jsonAngular CLI: 9.1.12
Node: 12.18.3
OS: win32 x64
Angular CLI: 10.0.5
Node: 12.18.3
OS: win32 x64
Anything else relevant?