-
Notifications
You must be signed in to change notification settings - Fork 336
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
Add lint rule to prefer constants over variables #640
Comments
Hi, I will work on this issue. |
great, thanks! Let me know if you run into any trouble before submitting a pull request. |
@shubheksha yes, exactly. @aniketkudale, sorry for the late reply. I just now had a chance to look at your patch and I pointed out some additional changes needed. |
@pragyes31 are you still working on this bug? I'd love to hear back from you! |
@kewisch I am. Will submit the PR probably by this weekend. |
Is this a bug or feature request?
feature
What is the current behavior?
When contributors submit pull requests, @kumar303 always tells them to use
const
instead oflet
when they are not modifying the variable.What is the expected or desired behavior?
We should let the robots tell them this instead! Let's add this rule and fix up the code:
The text was updated successfully, but these errors were encountered: