Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-input-rename fails on input alias to directive selector #580

Closed
diminutivesloop opened this issue Apr 26, 2018 · 0 comments
Closed

no-input-rename fails on input alias to directive selector #580

diminutivesloop opened this issue Apr 26, 2018 · 0 comments
Assignees

Comments

@diminutivesloop
Copy link

diminutivesloop commented Apr 26, 2018

According to the changelog for version 4.3.0 the no-input-rename rule should now allow input aliasing for directives when the alias matches the selector name as described in the angular attribute directive guide. However after updating to 4.3.0 the following code is still reported as violating the no-input-rename rule:

@Directive({
  selector: "[fssMsIconButtonLabel]"
})
export class IconButtonLabelDirective {
  @Input("fssMsIconButtonLabel") label: string;

  constructor(el: ElementRef) {}
}
@wKoza wKoza self-assigned this Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants