Skip to content

Conversation

@not-an-aardvark
Copy link
Contributor

@not-an-aardvarknot-an-aardvark commented Oct 11, 2017

This adds tests for the custom eslint rules in this repository, using
the RuleTester test utility bundled with eslint.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

tools

This adds tests for the custom eslint rules in this repository, using the `RuleTester` test utility bundled with eslint.
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Oct 11, 2017
@not-an-aardvark
Copy link
ContributorAuthor

Copy link
Member

@TrottTrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍 LGTM if CI is green. 😍

@not-an-aardvark
Copy link
ContributorAuthor

Landed in cd5ee52

@not-an-aardvarknot-an-aardvark deleted the eslint-tests branch October 14, 2017 07:03
not-an-aardvark added a commit that referenced this pull request Oct 14, 2017
This adds tests for the custom eslint rules in this repository, using the `RuleTester` test utility bundled with eslint. PR-URL: #16138 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit to ayojs/ayo that referenced this pull request Oct 15, 2017
This adds tests for the custom eslint rules in this repository, using the `RuleTester` test utility bundled with eslint. PR-URL: nodejs/node#16138 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorins
Copy link
Contributor

Looks like this patch breaks some tests on v8.x
Would someone be willing to backport?

@Trott
Copy link
Member

Looks like this patch breaks some tests on v8.x
Would someone be willing to backport?

@not-an-aardvark Are you up for opening a PR for this against the v8.x-staging branch?

@not-an-aardvarknot-an-aardvark self-assigned this Oct 28, 2017
@not-an-aardvark
Copy link
ContributorAuthor

I think the tests will pass after 5f46944 is backported to v8.x-staging. It looks like it was backported at one point, but was removed from the branch because it caused build errors (see #15083 (comment)). Those errors seem to have been fixed in #15307, so I think it should be safe to reapply 5f46944 again, and then this PR will backport cleanly.

@not-an-aardvarknot-an-aardvark removed their assignment Oct 29, 2017
@Trott
Copy link
Member

@MylesBorins Does what @not-an-aardvark suggests above work for you?

@MylesBorins
Copy link
Contributor

This should likely be bundled in a general eslint update for v6.x

@MylesBorins
Copy link
Contributor

MylesBorins commented Dec 19, 2017

ping regarding backport to v8.x

edit: got it to work yay

MylesBorins pushed a commit that referenced this pull request Dec 19, 2017
This adds tests for the custom eslint rules in this repository, using the `RuleTester` test utility bundled with eslint. PR-URL: #16138 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
This adds tests for the custom eslint rules in this repository, using the `RuleTester` test utility bundled with eslint. PR-URL: #16138 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@not-an-aardvark@MylesBorins@Trott@jasnell@hiroppy@nodejs-github-bot