Skip to content

Commit d1feaf3

Browse files
author
Arrgentum
committed
moved fix logic to class methods
### Whats added: * corrected logic fix and warn String Template in LineLength rule * added logic fix and warn long Dot Qualified Expression and Safe Access 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 * moved fix logic to class methods * fix code with diktat:fix@diktat * added comments to classes and functions * corrected code with running detect * corrected commented code ### Issue (#1243)
1 parent b743379 commit d1feaf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: diktat-common/src/main/kotlin/org/cqfn/diktat/common/config/rules/RulesConfigReader.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ fun List<RulesConfig>.isRuleEnabled(rule: Rule): Boolean {
202202
* @return true if the code block is marked with annotation that is in `ignored list` in the rule
203203
*/
204204
fun List<RulesConfig>.isAnnotatedWithIgnoredAnnotation(rule: Rule, annotations: Set<String>): Boolean =
205-
getRuleConfig(rule)
205+
getRuleConfig(rule)
206206
?.ignoreAnnotated
207207
?.map { it.trim() }
208208
?.map { it.trim('"') }

0 commit comments

Comments
 (0)