diff --git a/diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter3/PreviewAnnotationRule.kt b/diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter3/PreviewAnnotationRule.kt index 6334048f1c..fb0486fbe2 100644 --- a/diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter3/PreviewAnnotationRule.kt +++ b/diktat-rules/src/main/kotlin/com/saveourtool/diktat/ruleset/rules/chapter3/PreviewAnnotationRule.kt @@ -43,6 +43,7 @@ class PreviewAnnotationRule(configRules: List) : DiktatRule( } } + @Suppress("TOO_LONG_FUNCTION") private fun doCheck(functionNode: ASTNode, modeList: ASTNode) { if (modeList.getAllChildrenWithType(ANNOTATION_ENTRY).isEmpty()) { return