We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f44ea6 commit 738e606Copy full SHA for 738e606
Makefile
@@ -29,3 +29,11 @@ hooks:
29
@git config core.hooksPath .githooks
30
@chmod +x .githooks/pre-commit
31
@echo "Git hooks enabled (pre-commit markdownlint autofix)."
32
+
33
+.PHONY: mdlint
34
+mdlint:
35
+ @if ! command -v npx >/dev/null 2>&1; then \
36
+ echo "npx not found. Please install Node.js to run markdownlint."; \
37
+ exit 1; \
38
+ fi
39
+ @npx -y markdownlint-cli2 "**/*.md" "!**/node_modules/**"
0 commit comments