on-push-tslint
v1.2.0
Published
Verifiy that components use the OnPush change detection strategy
Downloads
14
Readme
on-push-tslint
Verifiy that components use the OnPush change detection strategy.
Usage
"rulesDirectory": [
"../node_modules/on-push-tslint"
],
"rules": {
"on-push-change-detection": [
true,
".*.spec.ts$",
"app.component.ts"
]
}
Files can be excluded from the check by a regex in the option list.