Skip to content

tools,doc: fix linting errors - #5161

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:lintdoc
Closed

tools,doc: fix linting errors#5161
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:lintdoc

Conversation

@Trott

@TrottTrott commented Feb 9, 2016

Copy link
Copy Markdown
Member

We recently added linting for files in tools/doc but PR #4741 was submitted before that tooling was added. It landed without a rebase and test run, so it's breaking CI. This fixes the minor lint issues. Hopefully this can land quickly.

/cc @fansworld-claudio@silverwind

Refs: #4741 (comment)

@TrottTrott added doc Issues and PRs related to the documentations. tools Issues and PRs related to the tools directory. lts-watch-v4.x labels Feb 9, 2016
@silverwind

Copy link
Copy Markdown
Contributor

FYI from the CI:

/usr/home/iojs/build/workspace/node-test-linter/tools/doc/type-parser.js
9:2 error Missing semicolon semi
31:19 error Unexpected space before function parentheses space-before-function-paren
32:9 error `typeLinks` is never modified, use `const` instead prefer-const
34:9 error `typeTexts` is never modified, use `const` instead prefer-const
36:31 error Unexpected space before function parentheses space-before-function-paren
59:2 error Missing semicolon semi

LGTM

shipit

@silverwind

Copy link
Copy Markdown
Contributor

@Trott

Trott commented Feb 9, 2016

Copy link
Copy Markdown
MemberAuthor

Fire drill. I'm not even joking. Feel free to land. I'll be gone for a while.

@MylesBorins

Copy link
Copy Markdown
Contributor

LGTM if CI is good

@silverwindsilverwind self-assigned this Feb 9, 2016
silverwind pushed a commit that referenced this pull request Feb 9, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@silverwind

Copy link
Copy Markdown
Contributor

Linter on CI is green. Landed in 1693349. Thanks again for finding it so quickly, @Trott.

@claudiorodriguez

Copy link
Copy Markdown
Contributor

Thanks for this!

rvagg pushed a commit that referenced this pull request Feb 10, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

type parser does not exist on v4.x

@silverwind

Copy link
Copy Markdown
Contributor

This depends on #4741.

@MylesBorins

Copy link
Copy Markdown
Contributor

thanks @silverwind updated labels

MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@Trott
Trott deleted the lintdoc branch January 13, 2022 22:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Trott@silverwind@MylesBorins@claudiorodriguez