Skip to content

Load talismanrc the same way for all modes #471

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

Merged
merged 5 commits into from
Mar 25, 2025
Merged

Conversation

tw-owen-nelson
Copy link
Collaborator

Simplify (remove) logic that loads the TalismanRC struct from a .talismanrc file in different ways to account for different file ignore behavior when scanning history vs scanning HEAD or a single changeset. Instead, encapsulate this logic in the IgnoreEvaluator.

TalismanRC represents the version-controlled configurations talisman
should consider when running. It is not responsible for distinguishing
between different ways talisman can be invoked.

Authored-by: Owen Nelson <[email protected]>
@tw-owen-nelson tw-owen-nelson merged commit 8d9244c into main Mar 25, 2025
6 checks passed
@tw-owen-nelson tw-owen-nelson deleted the same-rc-all-modes branch March 25, 2025 21:05
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.

1 participant