Skip to content
Merged
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
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,26 @@ two patterns that affect ALL GitHub URLs (any repository):
Set `LYCHEE_SKIP_GITHUB_REMAPS=true` to disable all GitHub-specific
remaps as an escape hatch if they cause unexpected behavior.

**Lychee config cleanup:**

When adopting `lint:links`, you can remove the following entries
from your `lychee.toml` because flint handles them at runtime
via `--remap` arguments:

- **GitHub blob/fragment remap for
[lychee#1729](https://github.com/lycheeverse/lychee/issues/1729)**
— flint remaps fragment URLs to `raw.githubusercontent.com`
for the current PR's head branch, and strips line-number
anchors globally.
- **`#issuecomment-*` excludes** — flint strips the fragment
via remap so the issue/PR page is still checked.
- **`#L\d+` line-number excludes** — flint strips the fragment
via remap so the file is still checked.

Note: flint uses `--remap` (not `--exclude`) for these because
lychee's CLI `--exclude` flags override config file excludes
rather than merging with them.

**Environment variables:**

<!-- editorconfig-checker-disable -->
Expand Down