Add insert-final-newline
config option
#8157
Merged
insert-final-newline
config option
#8157