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

feat: add basic ignore subpaths argument #278

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

CanadaHonk
Copy link
Contributor

Add a basic ignore subpaths argument. just checks if paths include it, no regex/glob/etc yet. Closes #102.

Add a basic ignore subpaths argument. just checks if paths include it, no regex/glob/etc yet. Closes tcort#102.
@tcort tcort merged commit cedaaeb into tcort:master Mar 10, 2024
cgrindel-self-hosted-renovate bot referenced this pull request in cgrindel/bazel-starlib Mar 10, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [markdown-link-check](https://togithub.com/tcort/markdown-link-check)
| dependencies | minor | [`3.11.2` ->
`3.12.0`](https://renovatebot.com/diffs/npm/markdown-link-check/3.11.2/3.12.0)
|

---

### Release Notes

<details>
<summary>tcort/markdown-link-check (markdown-link-check)</summary>

###
[`v3.12.0`](https://togithub.com/tcort/markdown-link-check/releases/tag/v3.12.0)

[Compare
Source](https://togithub.com/tcort/markdown-link-check/compare/v3.11.2...v3.12.0)

#### What's Changed

- Add support to load md files via proxy by
[@&#8203;dklimpel](https://togithub.com/dklimpel) in
[https://github.com/tcort/markdown-link-check/pull/288](https://togithub.com/tcort/markdown-link-check/pull/288)
- refactor: replace url.parse with new URL by
[@&#8203;CanadaHonk](https://togithub.com/CanadaHonk) in
[https://github.com/tcort/markdown-link-check/pull/281](https://togithub.com/tcort/markdown-link-check/pull/281)
- feat: add global option to replacementPatterns by
[@&#8203;CanadaHonk](https://togithub.com/CanadaHonk) in
[https://github.com/tcort/markdown-link-check/pull/279](https://togithub.com/tcort/markdown-link-check/pull/279)
- Update readme to be clearer for projectBaseUrl opt by
[@&#8203;nwcm](https://togithub.com/nwcm) in
[https://github.com/tcort/markdown-link-check/pull/284](https://togithub.com/tcort/markdown-link-check/pull/284)
- feat: add basic ignore subpaths argument by
[@&#8203;CanadaHonk](https://togithub.com/CanadaHonk) in
[https://github.com/tcort/markdown-link-check/pull/278](https://togithub.com/tcort/markdown-link-check/pull/278)
- chore(deps): bump ip from 1.1.8 to 1.1.9 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/tcort/markdown-link-check/pull/293](https://togithub.com/tcort/markdown-link-check/pull/293)

#### New Contributors

- [@&#8203;dklimpel](https://togithub.com/dklimpel) made their first
contribution in
[https://github.com/tcort/markdown-link-check/pull/288](https://togithub.com/tcort/markdown-link-check/pull/288)
- [@&#8203;CanadaHonk](https://togithub.com/CanadaHonk) made their first
contribution in
[https://github.com/tcort/markdown-link-check/pull/281](https://togithub.com/tcort/markdown-link-check/pull/281)
- [@&#8203;nwcm](https://togithub.com/nwcm) made their first
contribution in
[https://github.com/tcort/markdown-link-check/pull/284](https://togithub.com/tcort/markdown-link-check/pull/284)

**Full Changelog**:
tcort/markdown-link-check@v3.11.2...v3.12.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
@MikeMcC399
Copy link

@CanadaHonk

Your PR was merged and included in the v3.12.0 release.

@CanadaHonk CanadaHonk mentioned this pull request Mar 11, 2024
@MikeMcC399
Copy link

@CanadaHonk

Thanks for fixing the crash!

Did you consider also updating the README > Usage section? It currently does not mention the --ignore option.

Usage: markdown-link-check [options] [filenameOrUrl]

Options:
  -p, --progress              show progress bar
  -c, --config [config]       apply a config file (JSON), holding e.g. url specific header configuration
  -q, --quiet                 displays errors only
  -v, --verbose               displays detailed error information
  -a, --alive <code>          comma separated list of HTTP code to be considered as alive
  -r, --retry                 retry after the duration indicated in 'retry-after' header when HTTP code is 429
  -h, --help                  display help for command
  -V, --version               display version string (e.g. `1.2.3`)
    , --projectBaseUrl <url>  the URL to use for {{BASEURL}} replacement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ignore subpaths
3 participants