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

feat(eslint): rule disallowing optional inputs #1121

Merged
merged 2 commits into from
Apr 21, 2022

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Apr 15, 2022

PR Type

[x] Code style update (formatting, local variables)

What Is the Current Behavior?

Angular @Input decorated fields are optional by default, so adding a ? is confusing.

What Is the New Behavior?

Added rule to remove the optional operator.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#76045

@dhhyi dhhyi added enhancement Enhancement to an existing feature community Community contributions labels Apr 15, 2022
@dhhyi dhhyi self-assigned this Apr 15, 2022
@dhhyi dhhyi requested a review from MaxKless April 15, 2022 15:11
@dhhyi dhhyi removed their assignment Apr 15, 2022
@dhhyi dhhyi marked this pull request as ready for review April 15, 2022 15:11
@MaxKless MaxKless self-assigned this Apr 16, 2022
@MaxKless MaxKless merged commit e4121a4 into develop Apr 21, 2022
@MaxKless MaxKless deleted the feat/eslint-no-optional-inputs branch April 21, 2022 13:34
@dhhyi dhhyi added this to the 2.3 milestone Apr 21, 2022
paramaeder pushed a commit to paramaeder/intershop-pwa that referenced this pull request May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contributions enhancement Enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants