Skip to content

Conversation

gfs
Copy link
Contributor

@gfs gfs commented Aug 20, 2024

Fix #626

gfs added a commit that referenced this pull request Aug 26, 2024
gfs added a commit that referenced this pull request Aug 27, 2024
* Fix rewriting files with no issues to suppress

Fixes an issue where the Suppress command would rewrite a file essentially as is (but potentially change whitespace) even if all the detected issues in the file were filtered out by the rule filter.

* Respect original newline characters when adding suppression comments

* Rewrite edge case handling for placing multi line comments at the start of the line when the line ends with `\` and might be a multi-line continuation to avoid putting the comment inside the multiline string.

* Add tests cases for fixes

* Fix readme typo from #628
@gfs
Copy link
Contributor Author

gfs commented Apr 21, 2025

Looks like is is already in main.

@gfs gfs closed this Apr 21, 2025
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.

Nothing much, a spell mistake in readme.md
3 participants