Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2021-02-10 17:20:37 +0300
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-03-06 18:05:39 +0300
commit0afc8ac12e99ae0791dc12f989400875a85b646b (patch)
tree16bc7912f54d6b48f5a98e94e539bb2679ed5313 /Makefile
parent09461649a8b8590606cface183f29ad3f5723852 (diff)
tools: add support for mjs and cjs JS snippet linting
Refs: https://github.com/nodejs/node/pull/37162 Refs: https://github.com/nodejs/remark-preset-lint-node/pull/176 PR-URL: https://github.com/nodejs/node/pull/37311 Refs: https://github.com/eslint/eslint-plugin-markdown/pull/172 Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86bddc84525..d103773a616 100644
--- a/Makefile
+++ b/Makefile
@@ -1220,6 +1220,7 @@ lint-js-fix:
.PHONY: lint-js-doc
# Note that on the CI `lint-js-ci` is run instead.
# Lints the JavaScript code with eslint.
+lint-js-doc: LINT_JS_TARGETS=doc
lint-js lint-js-doc:
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
echo "Skipping $@ (no crypto)"; \