doc, tools: add doc linting to CI#12640
doc, tools: add doc linting to CI#12640vsemozhetbyt wants to merge 1 commit intonodejs:masterfrom vsemozhetbyt:doc-lint-ci
Conversation
|
Just 1 Windows machine unstable in CI. For a test, I shall add an error in doc and run a new CI. |
|
CI that SHOULD FAIL: https://ci.nodejs.org/job/node-test-pull-request/7666/ |
|
Whohoo! Linter fails. Do I get it right that linter in CI is run only as a separate job and is not run in builds? So we can test only |
|
It seems so, as only the linter job fails. Reverting the error... |
|
Please, let me know if this can be landed without delay as a follow-up fix for #12563. Currently, we have a conflict between local and CI linting. We can land commits that will break ESLint runs in local buildings. |
not-an-aardvark
left a comment
There was a problem hiding this comment.
The changes LGTM, but I'll defer to others about whether this should be landed without waiting 48 hours.
|
+1 to landing sooner to avoid CI/local linting issues |
|
I will dare to land now having got a one +1 and some LGTM. |
|
Landed in 42dca99 |
|
It seems all the old PRs will still use the old linting in CI if not rebased. The same example: #12549 (comment) New linter CI was launched after landing this PR, but console log shows old linting commands: https://ci.nodejs.org/job/node-test-linter/8559/console I think this is an additional reason for having this landed sooner. |
|
Will be backported to v6.x with #12563 if that lands. |
* Install eslint-plugin-markdown@1.0.0-beta.7 * Add doc/.eslintrc.yaml * Add `plugins: [markdown]` to the main .eslintrc.yaml * .js files in doc folder added to .eslintignore * Update Makefile, vcbuild.bat, and tools/jslint.js Refs: #12563 Refs: #12640 Refs: #14047 PR-URL: #14067 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
* Install eslint-plugin-markdown@1.0.0-beta.7 * Add doc/.eslintrc.yaml * Add `plugins: [markdown]` to the main .eslintrc.yaml * .js files in doc folder added to .eslintignore * Update Makefile, vcbuild.bat, and tools/jslint.js Refs: #12563 Refs: #12640 Refs: #14047 PR-URL: #14067 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
* Install eslint-plugin-markdown@1.0.0-beta.7 * Add doc/.eslintrc.yaml * Add `plugins: [markdown]` to the main .eslintrc.yaml * .js files in doc folder added to .eslintignore * Update Makefile, vcbuild.bat, and tools/jslint.js Refs: #12563 Refs: #12640 Refs: #14047 PR-URL: #14067 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Checklist
Affected core subsystem(s)
doc, tools
Fixes: #12635
Refs: #12563