Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions documentation/SA1518.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ The specific settings is one of the following:
* Require: Files are required to end with a single newline character
* Omit: Files may not end with a newline character

If you have set `insert_final_newline` in an `.editorconfig` file, it will be used to set this analyzer rule to either:
* Require (`insert_final_newline = true`)
* Omit (`insert_final_newline = false`).

## How to fix violations

To fix a violation of this rule, update the line endings at the end of the file to match the settings for the current
Expand Down