-
Notifications
You must be signed in to change notification settings - Fork 204
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
var vs let vs const, oh my! #46
Comments
If only one of them can be enforced via |
I believe the prefer-const rule can do this. Happy to submit a PR when I'm
back at my desk.
…On Feb 13, 2018 10:05 PM, "luke crouch" ***@***.***> wrote:
If only one of them can be enforced via eslint that will probably make up
my mind. @pdehaan <https://github.com/pdehaan> do you know if eslint can
support one of these and not the other?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAdocA4Yp9EXkCA1jbwDeybE41nL-iKQks5tUbm5gaJpZM4SClB8>
.
|
Only one I'm aware of is |
Does anybody have any mild/strong objections to our current |
Let's close this. |
We have arguments against
const
and arguments forconst
, let's have a 🔪 and 🔫 fight and settle this once and for all and see if we can find an ESLint rule that will support whatever we go with.So this is a "needs discussion" but now shouldn't be a blocker on the current open PR.
The text was updated successfully, but these errors were encountered: