Skip to content

Commit

Permalink
### Whats added:
Browse files Browse the repository at this point in the history
 * corrected logic fix and warn String Template in Linelength rule
 * added logic fix and warn long Dot Qualified Expression in LineLength rule
 * added logic fix and warn Value Arguments List in LineLength rule
 * added and corrected fix and warn tests in LineLength rule
 * fix code with diktat:fix@diktat
 * added comments to classes and functions
 * correct code with running detect

 ### Issue (#1243)
  • Loading branch information
Arrgentum committed May 24, 2022
1 parent 544011f commit 58716cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ class LineLength(configRules: List<RulesConfig>) : DiktatRule(
node.appendNewlineMergingWhiteSpace(dot, dot)
}

@Suppress("UnsafeCallOnNullableType")
@Suppress("UnsafeCallOnNullableType", "MagicNumber")
private fun fixArgumentsListFirstArgument(wrongArgumentList: ValueArgumentList): Int {
val lineLength = wrongArgumentList.maximumLineLength.lineLength
val node = wrongArgumentList.node
Expand Down

0 comments on commit 58716cf

Please sign in to comment.