Skip to content

Commit c44dee1

Browse files
committed
Move config from Makefile to yaml file
Signed-off-by: Simon Hülkenberg <simon.huelkenberg@iteratec.com>
1 parent 95e8b92 commit c44dee1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.mega-linter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ DISABLE:
88
- COPYPASTE # Comment to enable checks of excessive copy-pastes
99
# - SPELL # Uncomment to disable checks of spelling mistakes
1010
SHOW_ELAPSED_TIME: true
11-
FILEIO_REPORTER: false
1211
DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
12+
FILTER_REGEX_EXCLUDE: (.*\.md)
13+
VALIDATE_ALL_CODEBASE: false

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ test-hook:
9898
# only lints changed files
9999
.PHONY:
100100
lint:
101-
npx mega-linter-runner --env VALIDATE_ALL_CODEBASE=false
101+
npx mega-linter-runner
102102

103103
# lints every file in the repo
104104
.PHONY:
105105
lintall:
106-
npx mega-linter-runner
106+
npx mega-linter-runner --env VALIDATE_ALL_CODEBASE=true

0 commit comments

Comments
 (0)