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

fix #581 - Add final newline false positive #633

Merged
merged 1 commit into from Apr 7, 2020

Conversation

vivekrajr
Copy link
Contributor

Both insert_final_newline = false and insert_final_newline = true uses FinalNewlineFormatter.cs, so FormatWarningDescription was changed to accommodate both cases and be in line with other format warnings(for eg: Fix_end_of_line_marker)

@vivekrajr vivekrajr changed the title Fix for #581 - Add final newline false positive fix #581 - Add final newline false positive Apr 5, 2020
@jmarolf jmarolf requested a review from JoeRobich April 6, 2020 19:12
Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @vivekrajr!

@JoeRobich JoeRobich merged commit 3d8c722 into dotnet:master Apr 7, 2020
vdurante pushed a commit to vdurante/format that referenced this pull request Feb 29, 2024
fix dotnet#581 - Add final newline false positive
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.

None yet

2 participants