Skip to content

Commit

Permalink
uncrustify: force a single EOF newline
Browse files Browse the repository at this point in the history
The CI compliance check scripts check for newlines in patch submissions.

Signed-off-by: Jake Swensen <jake@swensen.io>
  • Loading branch information
jdswensen authored and cfriedt committed Nov 3, 2021
1 parent f7870ff commit 4a4a03d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .uncrustify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ 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{"

#
# End of file behavior
#

nl_end_of_file = force # string (add/force/ignore/remove)
nl_end_of_file_min = 1 # The min number of newlines at end of file

#
# Source code modifications
#
Expand Down

0 comments on commit 4a4a03d

Please sign in to comment.