Skip to content

Commit 7fe89dd

Browse files
committed
fix(linting): ignore CHANGELOG links
1 parent 4c07f52 commit 7fe89dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xtask/src/tools/lychee.rs

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ impl LycheeRunner {
3737

3838
let inputs: Vec<Input> = get_md_files()
3939
.iter()
40+
// Skip the changelog to preserve history, but also to avoid checking hundreds of
41+
// PR links and similar that don't need validation
42+
.filter(|file| !file.to_string().contains("CHANGELOG"))
4043
.map(|file| Input {
4144
source: InputSource::FsPath(PathBuf::from(file)),
4245
file_type_hint: Some(FileType::Markdown),

0 commit comments

Comments
 (0)