peripheryapp / periphery

A tool to identify unused code in Swift projects.
MIT License
5.28k stars 193 forks source link

Add "Examples" .periphery.yml file with various case scenarios #827

Open pouty18 opened 1 month ago

pouty18 commented 1 month ago

I'm loving the tool so far but trying to integrate it into a large production app has proved difficult. I would love if there was an examples directory where we could inspect various periphery yml files with expected outcomes.

For instance, I only want to use the tool to remove outdated files that are no longer referenced. However, I'd like to exclude any of the other issues from being reported...ie. functions, properties, parameters, enums, etc.

If there is a way where I can already see this being done that would be sweet.