github peripheryapp/periphery 3.5.0

5 hours ago
Breaking
  • The --no-color option has been replaced with --color=never.
Enhancements
  • The --color option now accepts one of auto, always and never. In auto mode, color is disabled for dumb terminals and non-TTYs.
  • Added detection of superfluous // periphery:ignore comments. A result is now reported when an ignore comment is unnecessary because the declaration is actually used. Can be disabled with --no-superfluous-ignore-comments.
  • More unused code is now reported in a single scan, rather than requiring repeated remove-and-rescan cycles.
Bug Fixes
  • Fix IBAction methods with named parameters or no parameters incorrectly marked as unused.
  • Fix --retain-swift-ui-previews for the #Preview macro.

Don't miss a new periphery release

NewReleases is sending notifications on new releases.