Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

feat: add ignored_error_codes_from option to Project and ProjectBuilder#361

Merged
zerosnacks merged 4 commits intofoundry-rs:mainfrom
ndavd:feat/ignored_error_codes_from
Mar 19, 2026
Merged

feat: add ignored_error_codes_from option to Project and ProjectBuilder#361
zerosnacks merged 4 commits intofoundry-rs:mainfrom
ndavd:feat/ignored_error_codes_from

Conversation

@ndavd
Copy link
Copy Markdown
Contributor

@ndavd ndavd commented Mar 18, 2026

@ndavd ndavd changed the title feat: add ignored_error_codes_from config option feat: add ignored_error_codes_from option to Project and ProjectBuilder Mar 18, 2026
Copy link
Copy Markdown
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

wdyt @grandizzy @DaniPopes

this is technically breaking but doesnt affect foundry so imo we can sneak this one in, dont think anyone uses the error fns directly

Comment on lines 939 to 944
/// the error codes to ignore
ignored_error_codes: &'a [u64],
/// the error codes to ignore from each path prefix
ignored_error_codes_from: &'a [(PathBuf, Vec<u64>)],
/// the file paths to ignore
ignored_file_paths: &'a [PathBuf],
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now we have a bunch of ignore settings that we could extract but maybe not worth doing

Copy link
Copy Markdown
Contributor

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, should be good, ty! needs clippy fix

@zerosnacks zerosnacks merged commit 94f5656 into foundry-rs:main Mar 19, 2026
18 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants