From 7c7d522fde03e22b95667af86f88491f84daa2d1 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 29 May 2018 11:12:09 +0200 Subject: [PATCH] uncrustify: check no newline at end of file --- uncrustify-riot.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uncrustify-riot.cfg b/uncrustify-riot.cfg index 2ad79e610c..968b3bf65a 100644 --- a/uncrustify-riot.cfg +++ b/uncrustify-riot.cfg @@ -24,6 +24,8 @@ nl_func_var_def_blk = 1 # nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{" nl_fdef_brace = add # "int foo() {" vs "int foo()\n{" nl_collapse_empty_body = true # set while(){\n} to while(){} +nl_end_of_file = add # fix no newline at end of file +nl_end_of_file_min = 1 # # # Source code modifications