GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build,tools: add lint-js-doc target · nodejs/node@273e147

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Makefile
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Makefile‎

Copy file name to clipboardExpand all lines: Makefile
+6-3Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,23 +1194,26 @@ tools/.mdlintstamp: $(LINT_MD_FILES)
11941194

11951195
.PHONY: lint-md
11961196
# Lints the markdown documents maintained by us in the codebase.
1197-
lint-md: | tools/.mdlintstamp
1197+
lint-md: lint-js-doc | tools/.mdlintstamp
11981198

11991199

12001200
LINT_JS_TARGETS = .eslintrc.js benchmark doc lib test tools
12011201

12021202
run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \
1203-
--report-unused-disable-directives --ext=.js,.mjs,.md $(LINT_JS_TARGETS)
1203+
--report-unused-disable-directives --ext=$(EXTENSIONS) $(LINT_JS_TARGETS)
12041204
run-lint-js-fix = $(run-lint-js) --fix
12051205

12061206
.PHONY: lint-js-fix
12071207
lint-js-fix:
12081208
@$(call available-node,$(run-lint-js-fix))
12091209

12101210
.PHONY: lint-js
1211+
.PHONY: lint-js-doc
12111212
# Note that on the CI `lint-js-ci` is run instead.
12121213
# Lints the JavaScript code with eslint.
1213-
lint-js:
1214+
lint-js: EXTENSIONS=.js,.mjs,.md
1215+
lint-js-doc: EXTENSIONS=.md
1216+
lint-js lint-js-doc:
12141217
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
12151218
echo "Skipping $@ (no crypto)"; \
12161219
else \

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.