From 3a8db5549ab2a5d231900c6e727921aa852aa21e Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 9 Apr 2019 17:45:05 +0200 Subject: [PATCH] editorconfig: Set insert_final_newline true This is what checkpatch.pl expects, and GitHub's file viewer flags a missing trailing newline too. Note that this is different from a blank line at the end of the file. It just says whether the last line must end in a newline. Signed-off-by: Ulf Magnusson --- .editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index a2df043449d..2de4a0d66f3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ root = true [*] charset = utf-8 end_of_line = lf -insert_final_newline = false +insert_final_newline = true trim_trailing_whitespace = true # C @@ -53,4 +53,4 @@ indent_size = 2 # Makefile [Makefile] -indent_style = tab \ No newline at end of file +indent_style = tab