Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Mar 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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