Skip to content

Commit 83816ca

Browse files
dev: update megalinter command and task descriptions
1 parent 812ecc9 commit 83816ca

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ OUTDATED_FILE := outdated-$(shell date +%y-%m-%d-%T).org
2929
# Column the target description is printed from
3030
HELP-DESCRIPTION-SPACING := 24
3131

32-
MEGALINTER_RUNNER = npx mega-linter-runner --flavor java --env "'MEGALINTER_CONFIG=.github/config/megalinter.yaml'" --remove-container
33-
3432
# Makefile file and directory name wildcard
3533
# EDN-FILES := $(wildcard *.edn)
34+
35+
# Tool variables
36+
# MEGALINTER_RUNNER = npx mega-linter-runner --flavor documentation --env "'MEGALINTER_CONFIG=.github/config/megalinter.yaml'" --remove-container
37+
MEGALINTER_RUNNER = npx mega-linter-runner --flavor java --env "'MEGALINTER_CONFIG=.github/config/megalinter.yaml'" --remove-container
3638
# ------------------------------------ #
3739

3840
# ------- Help ----------------------- #
@@ -148,7 +150,7 @@ lint: ## Run MegaLinter with custom configuration (node.js required)
148150
$(info --------- MegaLinter Runner ---------)
149151
$(MEGALINTER_RUNNER)
150152

151-
lint-fix: ## Run MegaLinter with custom configuration (node.js required)
153+
lint-fix: ## Run MegaLinter with applied fixes and custom configuration (node.js required)
152154
$(info --------- MegaLinter Runner ---------)
153155
$(MEGALINTER_RUNNER) --fix
154156

0 commit comments

Comments
 (0)