diff --git a/diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt b/diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt index da672a2cac..066f6f179d 100644 --- a/diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt +++ b/diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt @@ -202,13 +202,13 @@ fun List.isRuleEnabled(rule: Rule): Boolean { * @return true if the code block is marked with annotation that is in `ignored list` in the rule */ fun List.isAnnotatedWithIgnoredAnnotation(rule: Rule, annotations: Set): Boolean = - getRuleConfig(rule) - ?.ignoreAnnotated - ?.map { it.trim() } - ?.map { it.trim('"') } - ?.intersect(annotations) - ?.isNotEmpty() - ?: false + getRuleConfig(rule) + ?.ignoreAnnotated + ?.map { it.trim() } + ?.map { it.trim('"') } + ?.intersect(annotations) + ?.isNotEmpty() + ?: false /** * Parse string into KotlinVersion