KT.MAX_LINE_LENGTH
Lines of code exceed maximum line length
This rule reports lines of code which exceed a defined maximum line length. Long lines might be hard to read on smaller screens or printouts. Additionally, having a maximum line length in the codebase will help make the code more uniform.
Options
-
maxLineLength(default:120)maximum line length
-
excludePackageStatements(default:True)if package statements should be ignored
-
excludeImportStatements(default:True)if import statements should be ignored
-
excludeCommentStatements(default:False)if comment statements should be ignored