Skip to content

Conversation

@Trott
Copy link
Member

@TrottTrott commented Aug 6, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

benchmark

Description of change

Refs: #7961 (comment)

@TrottTrott added the benchmark Issues and PRs related to the benchmark subsystem. label Aug 6, 2016
@Trott
Copy link
MemberAuthor

Trott commented Aug 6, 2016

/cc @AndreasMadsen

@mscdex
Copy link
Contributor

LGTM

@mscdex
Copy link
Contributor

@AndreasMadsen
Copy link
Member

LGTM, but I'm not sure how important it is, if we can't make it a formal rule.

@mscdex
Copy link
Contributor

@AndreasMadsen Well, we can't create a linter rule for it since there are legitimate uses for ==.

@Trott
Copy link
MemberAuthor

Trott commented Aug 6, 2016

ESLint allows for exceptions when comparing to null, comparing literals, and using typeof. That will cover most of the cases. Any other legitimate cases, we can disable the lint rule with comments. So I think we should be able to do it. But I prefer to do small and manageable chunks of code at a time...

We could also enable it only for specific directories like benchmark.

So if we want this to be lint-enforced, there are definitely options.

@addaleax
Copy link
Member

LGTM

3 similar comments
@cjihrig
Copy link
Contributor

LGTM

@jasnell
Copy link
Member

LGTM

@jbergstroem
Copy link
Member

LGTM

Trott added a commit to Trott/io.js that referenced this pull request Aug 9, 2016
Refs: nodejs#7961 (comment) PR-URL: nodejs#8000 Reviewed-By: Brian White <[email protected]> Reviewed-By: Andreas Madsen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
@Trott
Copy link
MemberAuthor

Trott commented Aug 9, 2016

Landed in ae25ed3

@TrottTrott closed this Aug 9, 2016
@cjihrigcjihrig mentioned this pull request Aug 10, 2016
cjihrig pushed a commit that referenced this pull request Aug 10, 2016
Refs: #7961 (comment) PR-URL: #8000 Reviewed-By: Brian White <[email protected]> Reviewed-By: Andreas Madsen <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
@cjihrigcjihrig mentioned this pull request Aug 11, 2016
@TrottTrott deleted the eqeqeq branch January 13, 2022 22:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarkIssues and PRs related to the benchmark subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@Trott@mscdex@AndreasMadsen@addaleax@cjihrig@jasnell@jbergstroem@MylesBorins