Skip to main content

RCS0058: Normalize whitespace at the end of a file

Properties

PropertyValue
Default Severitydisabled by default
Minimum language version-

Summary

This analyzer enforces:

  • new line at the end of a file
  • no new line at the end of a file if the option roslynator.prefer_new_line_at_end_of_file is set to false.

Configuration

info

Option roslynator_new_line_at_end_of_file is required to be set for this analyzer to work.

.editorconfig
# Include/omit new line at the end of a file
roslynator_new_line_at_end_of_file = true|false

Applies to