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

Update README.md #628

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update README.md #628

wants to merge 2 commits into from

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
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