Skip to content

Commit

Permalink
Display only errors in markdown-link-check logs for better readability (
Browse files Browse the repository at this point in the history
#2479)

* Display only errors in markdown-link-check logs for better readability

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Mar 26, 2023
1 parent b290798 commit 68d04b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- Avoid cspell error on readonly workspaces
- Allow bandit to use pyproject.toml
- Bring back stylelint-config-sass-guidelines package
- Display only errors in markdown-link-check logs for better readability

- Core
- Run CI linter jobs only on Pull requests to avoid doubling jobs
Expand Down
2 changes: 2 additions & 0 deletions megalinter/descriptors/markdown.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ linters:
linter_megalinter_ref_url: https://github.com/tcort/markdown-link-check#run-in-other-tools
cli_lint_mode: list_of_files
config_file_name: .markdown-link-check.json
cli_lint_extra_args:
- --quiet
cli_lint_errors_count: regex_sum
cli_lint_errors_regex: "ERROR: ([0-9]+) dead links found"
examples:
Expand Down

0 comments on commit 68d04b3

Please sign in to comment.