Lines Matching defs:lint
633 test-doc: doc-only lint-md ## Builds, lints, and verifies the docs.
1329 .PHONY: lint-md-rollup
1330 lint-md-rollup:
1332 cd tools/lint-md && npm ci && npm run build
1334 .PHONY: lint-md-clean
1335 .NOTPARALLEL: lint-md-clean
1336 lint-md-clean:
1337 $(RM) -r tools/lint-md/node_modules
1340 .PHONY: lint-md-build
1341 lint-md-build:
1342 $(warning Deprecated no-op target 'lint-md-build')
1354 run-lint-md = tools/lint-md/lint-md.mjs $(LINT_MD_FILES)
1358 @$(call available-node,$(run-lint-md))
1361 .PHONY: lint-md
1363 lint-md: lint-js-doc | tools/.mdlintstamp
1365 run-format-md = tools/lint-md/lint-md.mjs --format $(LINT_MD_FILES)
1375 run-lint-js = tools/node_modules/eslint/bin/eslint.js --cache \
1377 run-lint-js-fix = $(run-lint-js) --fix
1379 .PHONY: lint-js-fix
1380 lint-js-fix:
1381 @$(call available-node,$(run-lint-js-fix))
1383 .PHONY: lint-js
1384 .PHONY: lint-js-doc
1385 # Note that on the CI `lint-js-ci` is run instead.
1387 lint-js-doc: LINT_JS_TARGETS=doc
1388 lint-js lint-js-doc:
1393 $(call available-node,$(run-lint-js)) \
1396 jslint: lint-js
1397 $(warning Please use lint-js instead of jslint)
1399 run-lint-js-ci = tools/node_modules/eslint/bin/eslint.js \
1403 .PHONY: lint-js-ci
1405 lint-js-ci:
1407 @$(call available-node,$(run-lint-js-ci))
1409 jslint-ci: lint-js-ci
1410 $(warning Please use lint-js-ci instead of jslint-ci)
1496 .PHONY: lint-cpp
1498 lint-cpp: tools/.cpplintstamp
1506 .PHONY: lint-addon-docs
1507 lint-addon-docs: tools/.doclintstamp
1515 cpplint: lint-cpp
1516 $(warning Please use lint-cpp instead of cpplint)
1518 .PHONY: lint-py-build
1521 lint-py-build:
1526 .PHONY: lint-py
1529 lint-py:
1533 lint-py:
1535 $(warning Run 'make lint-py-build')
1538 .PHONY: lint-yaml-build
1541 lint-yaml-build:
1546 .PHONY: lint-yaml
1548 lint-yaml:
1553 echo "Run 'make lint-yaml-build'"; \
1556 .PHONY: lint
1557 .PHONY: lint-ci
1559 lint: ## Run JS, C++, MD and doc linters.
1561 $(MAKE) lint-js || EXIT_STATUS=$$? ; \
1562 $(MAKE) lint-cpp || EXIT_STATUS=$$? ; \
1563 $(MAKE) lint-addon-docs || EXIT_STATUS=$$? ; \
1564 $(MAKE) lint-md || EXIT_STATUS=$$? ; \
1565 $(MAKE) lint-yaml || EXIT_STATUS=$$? ; \
1570 lint-ci: lint-js-ci lint-cpp lint-py lint-md lint-addon-docs lint-yaml-build lint-yaml
1580 lint lint-ci:
1585 .PHONY: lint-clean
1586 lint-clean: