diff --git a/BUILDING.md b/BUILDING.md index e4963efb7abe15..14fd65a7d72cb4 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -402,12 +402,9 @@ If you are running tests before submitting a pull request, use: ```bash make -j4 test ``` +`make -j4 test` does a full check on the codebase, including documentation tests. -`make -j4 test` does a full check on the codebase, including running linters and -documentation tests. - -To run the linter without running tests, use -`make lint`/`vcbuild lint`. It will lint JavaScript, C++, and Markdown files. +To run the linter, use `make lint`/`vcbuild lint`. It will lint JavaScript, C++, and Markdown files. To fix auto fixable JavaScript linting errors, use `make lint-js-fix`. diff --git a/Makefile b/Makefile index a5536982b8e833..f1cc28ab380317 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ coverage-run-js: ## Run JavaScript tests with coverage. .PHONY: test # This does not run tests of third-party libraries inside deps. -test: all ## Run default tests, linters, and build docs. +test: all ## Run default tests and build docs. $(MAKE) -s tooltest $(MAKE) -s test-doc $(MAKE) -s build-addons @@ -350,7 +350,7 @@ test: all ## Run default tests, linters, and build docs. $(MAKE) -s jstest .PHONY: test-only -test-only: all ## Run default tests, without linters or building the docs. +test-only: all ## Run default tests without building the docs. $(MAKE) build-addons $(MAKE) build-js-native-api-tests $(MAKE) build-node-api-tests