Skip to content

Commit 4a4a03d

Browse files
jdswensencfriedt
authored andcommitted
uncrustify: force a single EOF newline
The CI compliance check scripts check for newlines in patch submissions. Signed-off-by: Jake Swensen <jake@swensen.io>
1 parent f7870ff commit 4a4a03d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.uncrustify.cfg

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ nl_func_var_def_blk = 1
2424
nl_fcall_brace = remove # "list_for_each() {" vs "list_for_each()\n{"
2525
nl_fdef_brace = add # "int foo() {" vs "int foo()\n{"
2626

27+
#
28+
# End of file behavior
29+
#
30+
31+
nl_end_of_file = force # string (add/force/ignore/remove)
32+
nl_end_of_file_min = 1 # The min number of newlines at end of file
33+
2734
#
2835
# Source code modifications
2936
#

0 commit comments

Comments
 (0)