From dccd97dd57ea0c930d6088d86a3155ca81046c0b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 3 Feb 2017 11:18:45 -0800 Subject: doc: fix linting command for vcbuild Currently, `vcbuild` only supports `jslint`. `vcbuild lint` will not work because there is no `lint` task specified in `vcbuild.bat`. Update documentation to use `vcbuild jslint` instead. PR-URL: https://github.com/nodejs/node/pull/11151 Reviewed-By: Nikolai Vavilov Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab3a886302..6965f78b4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -182,7 +182,9 @@ Running `make test`/`vcbuild test` will run the linter as well unless one or more tests fail. If you want to run the linter without running tests, use -`make lint`/`vcbuild lint`. +`make lint`/`vcbuild jslint`. At this time, only JavaScript linting is +available on Windows. `make lint` on POSIX will run both JavaScript linting and +C++ linting. If you are updating tests and just want to run a single test to check it, you can use this syntax to run it exactly as the test harness would: -- cgit v1.2.3