-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
benchmark: favor === over == #8000
Conversation
/cc @AndreasMadsen |
LGTM |
LGTM, but I'm not sure how important it is, if we can't make it a formal rule. |
@AndreasMadsen Well, we can't create a linter rule for it since there are legitimate uses for |
ESLint allows for exceptions when comparing to We could also enable it only for specific directories like So if we want this to be lint-enforced, there are definitely options. |
LGTM |
3 similar comments
LGTM |
LGTM |
LGTM |
Refs: nodejs#7961 (comment) PR-URL: nodejs#8000 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Landed in ae25ed3 |
Refs: #7961 (comment) PR-URL: #8000 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Checklist
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
benchmark
Description of change
Refs: #7961 (comment)