Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit e38c2cc

Browse files
authored
add linter to makefile (#1699)
Co-authored-by: Bart Szydlowski <bart.szydlowski@localstack.cloud>
1 parent d3b777a commit e38c2cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,8 @@ install_apps:
2121
clean_apps:
2222
git clean -f content/en/applications
2323

24-
.PHONY: serve dev install clean install_apps clean_apps
24+
lint:
25+
@which markdownlint-cli2 > /dev/null || (echo "Please install markdownlint-cli2: npm install -g markdownlint-cli2" && exit 1)
26+
markdownlint-cli2 --fix
27+
28+
.PHONY: serve dev install clean install_apps clean_apps lint

0 commit comments

Comments
 (0)