Skip to content

Commit cdf96fa

Browse files
committed
Lint only changed files
Signed-off-by: Simon Hülkenberg <simon.huelkenberg@iteratec.com>
1 parent 7600b2d commit cdf96fa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ test-hook:
9595
make test -C $(HOOKS_DIR)/$(target)
9696

9797

98+
# only lints changed files
9899
.PHONY:
99-
megalint:
100+
lint:
101+
npx mega-linter-runner --env VALIDATE_ALL_CODEBASE=false
102+
103+
# lints every file in the repo
104+
.PHONY:
105+
lintall:
100106
npx mega-linter-runner

0 commit comments

Comments
 (0)