Skip to content

[feature] Combining --error=unused-suppression and --update-all should remove unused suppressions #1624

@seamuswn

Description

@seamuswn

⭐ Suggestion

When running ast-grep scan --update-all --error=unused-suppression, unused suppressions should be automatically removed.

💻 Use Cases

This makes it easier to enable --error=unused-suppression or to automate linting fixes for cases where --update-all is used.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions