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