-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[18.0][IMP] web_form_banner: adj to resolve eslint warnings #3391
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
base: 18.0
Are you sure you want to change the base?
Conversation
yostashiro
left a comment
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.
LGTM.
nobuQuartile
left a comment
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.
LGTM
m-deura
left a comment
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.
LGTM!
|
@oca/web-maintainers |
|
This PR has the |
1 similar comment
|
This PR has the |
| return fb; | ||
| }; | ||
|
|
||
| /* eslint-disable no-inline-comments */ |
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.
Why don't you move the comments to the line before. This way you are not disabling a lint condition
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.
I want to reduce the line of codes as much as possible and the comments are very short enough to use as a inline comment in my opinion.
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.
I know that the diff will be longer, however, in a migration it is expected to have this kind of changes. I would prefer to avoid this kind of disables
e858161 to
1e9d18b
Compare
yostashiro
left a comment
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.
Code review. Thanks @etobella for your advice!
etobella
left a comment
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.
Technical review
This is the warnings before this PR.

This is after the PR, all warning will be gone.
@qrtl QT6169