descriptor_id: MDLINKCHECK descriptor_type: other descriptor_flavors: - all file_extensions: - ".md" lint_all_other_linters_files: true linters: # linkcheck - linter_name: linkcheck linter_url: https://github.com/shiranr/linkcheck linter_repo: https://github.com/shiranr/linkcheck config_file_name: linkcheck.json cli_config_arg_name: "-config" cli_help_arg_name: "-help" cli_version_arg_name: "-version" cli_lint_fix_arg_name: "--megalinter-fix-flag" # Workaround for MegaLinter cli_lint_mode: list_of_files lint_all_files: true cli_lint_errors_count: regex_sum cli_lint_errors_regex: "ERROR: ([0-9]+) links check failed, please check the logs" examples: - "linkcheck" - "linkcheck README.md" - "linkcheck --config linkcheck.json README.md" - "linkcheck --config linkcheck.json" install: dockerfile: - RUN export GO111MODULE=on && go install github.com/shiranr/linkcheck@v2.0.1.beta && go clean --cache