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

Improve insert of suppression #2546

Merged
merged 3 commits into from
Feb 11, 2024
Merged

Commits on Feb 11, 2024

  1. Improve insert of suppression

    Prevent KtlintSuppressionOutOfBoundsException Suppression if offset equals the end the line.
    
    Insert suppression at parent in case the target location of the suppression is a whitespace.
    paul-dingemans committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    3b08b9a View commit details
    Browse the repository at this point in the history
  2. Improve insert of suppression

    Prevent KtlintSuppressionOutOfBoundsException Suppression if offset equals the end the line.
    
    Closes #2514
    
    Insert suppression at parent in case the target location of the suppression is a whitespace.
    paul-dingemans committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    ead8a2c View commit details
    Browse the repository at this point in the history
  3. Improve insert of suppression

    Prevent KtlintSuppressionOutOfBoundsException Suppression if offset equals the end the line.
    
    Closes #2514
    
    Insert suppression at parent in case the target location of the suppression is a whitespace.
    paul-dingemans committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    79064c9 View commit details
    Browse the repository at this point in the history