-
Notifications
You must be signed in to change notification settings - Fork 455
Apply eslint-rule no-shadow - Related to #1597 #2583
Conversation
400f6e0
to
ddaa58b
Compare
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.
@diego-G overall the purpose of the PR is great, but in my opinion at some places the naming are not the convincing, I have left few comments and feedback, please feel free to go over it and if there is room for improvement please do them.
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.
Using underscores in names is also not recommended and conflicting with the other ESLint rule - https://eslint.org/docs/rules/no-underscore-dangle.
@maciej the rule we apply comes straight from AirBnb repo. My Lint doesn't show any conflicts. Could you point me to the place you refer? |
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.
Please use the meaningful variable names.
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.
If you exclude that controllers/node.js
everything else seems pretty good to me.
Review checklist