Skip to content

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

@diminutivesloop

Description

@diminutivesloop

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) {}
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions