Skip to content
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

Ignore suppressions for no-unused-imports rule #2720

Merged
merged 2 commits into from
Jun 29, 2024

Commits on Jun 25, 2024

  1. Ignore suppressions for no-unused-imports rule

    Imports which are only used in code blocks which are suppressed for ktlint should not be reported as unused as removal results in compilation errors.
    
    Refactored the code so that a rule can be marked with interface `IgnoreKtlintSuppressions` to indicate that all suppression for this rule are to be ignored.
    
    Closes #2696
    paul-dingemans committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    b0acf4c View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Fix API contracts

    paul-dingemans committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    9bc2352 View commit details
    Browse the repository at this point in the history