Skip to content

Conversation

@ileitch
Copy link
Contributor

@ileitch ileitch commented Jan 11, 2026

Detect and report when // periphery:ignore comments are unnecessary because the declaration is actually referenced and would not have been reported as unused.

This helps identify outdated ignore comments that should be removed, similar to SwiftLint's superfluous_disable_command rule.

@ileitch ileitch force-pushed the issue-427 branch 5 times, most recently from b1172a2 to 58c05d4 Compare January 11, 2026 17:04
Detect and report when `// periphery:ignore` comments are unnecessary
because the declaration is actually referenced and would not have been
reported as unused.

This helps identify outdated ignore comments that should be removed,
similar to SwiftLint's superfluous_disable_command rule.

Superfluous ignore command results are excluded from baselines since
they're warnings about unnecessary comments, not unused code.
@ileitch ileitch merged commit 5a4ac8b into master Jan 11, 2026
13 checks passed
@ileitch ileitch deleted the issue-427 branch January 11, 2026 17:45
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.

2 participants