-
Notifications
You must be signed in to change notification settings - Fork 940
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
Replace var in javascript with let/const #5558
base: master
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
Not in unmerged pull requests. |
728d991
to
4e28e7f
Compare
If this is merged, I'll have to rewrite #5064 again. That's a bugfix PR. People are still complaining about bugs it fixes. |
@AntonKhorev I'd still say merge sooner rather than later just because all the arising issues can be autofixed. |
4e28e7f
to
f3e092f
Compare
99fb2a9
to
f6416cd
Compare
f6416cd
to
0d31f55
Compare
url: content_path, | ||
url: path, |
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're already cleaning up after me, you can define the function as function (url, callback)
for even more conciseness.
This updates the eslint config to prohibit use of
var
and to preferconst
overlet
and then fixes all uses ofvar
to respect that.