Skip to content

doc,cluster: fix the lint of an example - #6516

Closed
yorkie wants to merge 2 commits into
nodejs:masterfrom
yorkie:fix/doc-example
Closed

doc,cluster: fix the lint of an example#6516
yorkie wants to merge 2 commits into
nodejs:masterfrom
yorkie:fix/doc-example

Conversation

@yorkie

@yorkieyorkie commented May 2, 2016

Copy link
Copy Markdown
Contributor
Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • documentation is changed or added
  • the commit message follows commit guidelines
Affected core subsystem(s)
  • doc
  • cluster
Description of change

Just fix the example at https://nodejs.org/dist/latest-v6.x/docs/api/cluster.html, which doesn't follow the coding style.

By the way, how about moving example codes outside to separate files so that we can lint them in our build system.

@nodejs-github-botnodejs-github-bot added the doc Issues and PRs related to the documentations. label May 2, 2016
@yorkie

Copy link
Copy Markdown
ContributorAuthor

As for this is only fix to docs, so we don't have a test case for that :-)

@mscdexmscdex added the cluster Issues and PRs related to the cluster subsystem. label May 2, 2016
@cjihrig

Copy link
Copy Markdown
Contributor

LGTM

@Fishrock123

Copy link
Copy Markdown
Contributor

lgtm

@jasnell

Copy link
Copy Markdown
Member

LGTM

@silverwind

Copy link
Copy Markdown
Contributor

By the way, how about moving example codes outside to separate files so that we can lint them in our build system.

No need to, we can lint them in place. #5053 is set up to do that, but it's kind of dead right now.

@yorkie

Copy link
Copy Markdown
ContributorAuthor

Wait for CI?

@jasnell

Copy link
Copy Markdown
Member

There's really no CI for docs. Will get this landed shortly. Thanks @yorkie !

@yorkie

Copy link
Copy Markdown
ContributorAuthor

Ok, just make sure if this one is in your plan, that's my pleasure :-)

jasnell pushed a commit that referenced this pull request May 3, 2016
PR-URL: #6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell

Copy link
Copy Markdown
Member

Landed in 8637c27. Thank you @yorkie !

@jasnelljasnell closed this May 3, 2016
Fishrock123 pushed a commit that referenced this pull request May 4, 2016
PR-URL: #6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@yorkie
yorkie deleted the fix/doc-example branch May 4, 2016 02:48
joelostrowski pushed a commit to joelostrowski/node that referenced this pull request May 4, 2016
PR-URL: nodejs#6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
PR-URL: #6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Jun 24, 2016
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
PR-URL: #6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
PR-URL: #6516
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clusterIssues and PRs related to the cluster subsystem.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@yorkie@cjihrig@Fishrock123@jasnell@silverwind@mscdex@MylesBorins@nodejs-github-bot