-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve insert of suppression (#2546)
* 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. Closes #2514
- Loading branch information
1 parent
7501f72
commit 1b7c449
Showing
2 changed files
with
111 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters