KT.FINAL_NEWLINE

Missing final newlines

File must end with a newline (\n) or redundant newline (\n) at the end of file.

Options

  • insertFinalNewLine (default: True)

    report absence or presence of a newline

The content on this page is adapted from the Detekt Docs. Copyright ©2022 The Detekt Team. All rights reserved. https://detekt.dev/comments.html