Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

feat(@schematics/angular): enable 'no-template-call-expression' rule #746

Closed

Conversation

kevinbuhmann
Copy link

At ng-conf, there was a talk on avoiding binding to function call expression in template to improve change detection performance. Several months ago, I contributed a rule to codelyzer that will flag any binding to call expression in template (mgechev/codelyzer#478). This PR enables that rule in the tslint.json schematic for Angular projects.

@kevinbuhmann
Copy link
Author

kevinbuhmann commented Apr 25, 2018

I just realized that the no-template-call-expression rule is not in the published package for codelyzer for some reason. I have opened mgechev/codelyzer#577 for this.

Update: This was fixed in mgechev/codelyzer#582. I will update this PR with the correct version of codelyzer one this rule is actually available in a release.

@alexeagle
Copy link
Contributor

Sorry @kevinphelps - this got lost when we moved back to the angular/angular-cli repo. If you still think this pull request is relevant, could you please re-base on that repo and open a new PR there? Thanks and sorry for the extra churn.

@alexeagle alexeagle closed this Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants