Skip to content
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

tools: apply linting to doc tools #4973

Closed
wants to merge 2 commits into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Jan 30, 2016

Apply eslint rules to tools/doc.

@Trott Trott added tools Issues and PRs related to the tools directory. lts-watch-v4.x labels Jan 30, 2016
@tflanagan
Copy link
Contributor

👍

@Fishrock123
Copy link
Contributor

LGTM if it still works

@silverwind
Copy link
Contributor

LGTM

@@ -517,7 +517,7 @@ bench-idle:
$(NODE) benchmark/idle_clients.js &

jslint:
$(NODE) tools/eslint/bin/eslint.js src lib test tools/eslint-rules \
$(NODE) tools/eslint/bin/eslint.js lib src test tools/doc tools/eslint-rules \
Copy link
Member

Choose a reason for hiding this comment

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

You also need to update the corresponding line in vcbuild.bat

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, yes, of course! Done! (If someone on a Windows machine can confirm that it still works on Windows, that would be great. I don't think we run lint on Windows in CI.)

Copy link
Contributor

Choose a reason for hiding this comment

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

Works great (Win10)

@jasnell
Copy link
Member

jasnell commented Feb 1, 2016

LGTM

@Trott
Copy link
Member Author

Trott commented Feb 1, 2016

@Trott
Copy link
Member Author

Trott commented Feb 1, 2016

  • Confirmed addon-verify.js still runs and generates identical output files when running ./node tools/doc/addon-verify.js on this version and on the version of the script in master branch.
  • Changes to generate.js seem very straightforward. Confirmed that version in master branch and this branch generate identical output using zlib.markdown as input, specifying both JSON and HTML output.
  • Changes to html.js, preprocess.js, and json.js tested in above step, as they are used by generate.js.

And CI is green to boot.

Trott added a commit to Trott/io.js that referenced this pull request Feb 2, 2016
Apply eslint rules to `tools/doc`.

PR-URL: nodejs#4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott
Copy link
Member Author

Trott commented Feb 2, 2016

Landed in 2d89d3d

@Trott Trott closed this Feb 2, 2016
rvagg pushed a commit that referenced this pull request Feb 8, 2016
Apply eslint rules to `tools/doc`.

PR-URL: #4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 17, 2016
Apply eslint rules to `tools/doc`.

PR-URL: #4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 18, 2016
Apply eslint rules to `tools/doc`.

PR-URL: #4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
@MylesBorins MylesBorins mentioned this pull request Feb 18, 2016
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Apply eslint rules to `tools/doc`.

PR-URL: #4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
Apply eslint rules to `tools/doc`.

PR-URL: nodejs#4973
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott Trott deleted the eslint-doc branch January 13, 2022 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants