-
Notifications
You must be signed in to change notification settings - Fork 629
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
refactor(yaml): prepare for noUncheckedIndexedAccess
#4457
refactor(yaml): prepare for noUncheckedIndexedAccess
#4457
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please justify non-trivial non-null assertions? No comment is needed for trivial ones.
Also, I think we can omit some non-null assertions within loops by instead changing the loop conditions.
Sidenote: looking through this module makes me realise how much room for improvement there is.
I refactored a bit the for-loops to improve readability, removing some |
This reverts commit ec9bd21.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore my previous request for changes. LGTM! Thank you.
Ref: #4040