Skip to content

refactor(rule): rename/clean up 'no-attribute-parameter-decorator'#781

Merged
mgechev merged 1 commit intomgechev:masterfrom
rafaelss95:refactor/no-attribute-decorator
Mar 6, 2019
Merged

refactor(rule): rename/clean up 'no-attribute-parameter-decorator'#781
mgechev merged 1 commit intomgechev:masterfrom
rafaelss95:refactor/no-attribute-decorator

Conversation

@rafaelss95
Copy link
Collaborator

Related to #754.

@rafaelss95 rafaelss95 requested review from mgechev and wKoza March 2, 2019 00:58
typescriptOnly: true
};

static readonly FAILURE_STRING = '@Attribute is considered bad practice. Use @Input instead.';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this message...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there's any place in the Angular Style Guide that says it's a bad practice to use @Attribute we should link it here, otherwise better rephrase this (and also the rationale).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rafaelss95
Copy link
Collaborator Author

Ping @mgechev

@mgechev mgechev merged commit 049be66 into mgechev:master Mar 6, 2019
@rafaelss95 rafaelss95 deleted the refactor/no-attribute-decorator branch March 8, 2019 02:49
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

Successfully merging this pull request may close these issues.

2 participants

Comments