-
Notifications
You must be signed in to change notification settings - Fork 405
Change var to const or let #608
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
Change var to const or let #608
Conversation
LGTM. One thing worth doing would be adding http://eslint.org/docs/rules/prefer-const to the |
Awesome work. Since this is so significant a change I am going to point it to dev-3.0 |
@benhalverson |
@bmuenzenmeyer Those lint errors are just guides and does not always reflect appropriateness – just a compass. Awesome job @benhalverson |
Sorry I was not articulate.
If we turn prefer-const on permanently and do not address errors, future
lint efforts are harder to parse through. I am likewise ecstatic with the
work done so far.
…On Sun, Feb 5, 2017, 2:00 PM Raphael Okon ***@***.***> wrote:
@bmuenzenmeyer <https://github.com/bmuenzenmeyer> Those lint *errors* are
just guides and does not always reflect appropriateness – just a compass.
Awesome job @benhalverson <https://github.com/benhalverson>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#608 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASNw3AGU6jtXq11hC-q31fWyaOXI5xTks5rZip4gaJpZM4L3azU>
.
|
Thanks Guys. Yes I can work on the rest. I was going to ask about changing the vars in the tests also. Should that be another issue? |
The tests are not linted due to their inconsistent style from years of development. I'd leave them out of scope for now and focus on the main library. If you want to do it as another issue, you are most welcome. |
i didn't have these conflicts on my machine. @bmuenzenmeyer I'll see if I can resolve them. |
@benhalverson will fix this on my end tomorrow morning |
@benhalverson I am rolling this into #610 as I fought with it enough here and there today and I think it needs a bit more oomph. |
Ok. Thanks |
With #610 done, I think this is in limbo. Please see my other comments. |
@bmuenzenmeyer do I need to do anything here? |
@benhalverson mostly asking if you are okay with me closing. I had to merge it into work already apart of I will still display this PR and your name in the changelog and release notes, as you did great work! |
Yep it's ok with me |
Addresses #598
Summary of changes:
This is the start of converting var's to const or let.
Looking for some initial feedback