From cce8c7af116bb41bd9f95a3357c34b1437d99b4b Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Wed, 22 Jun 2022 11:52:37 +0300 Subject: [PATCH] reverted changes committed by mistake --- .../org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt index 6dff8dbf40..07e2eaf4ea 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt @@ -4,6 +4,7 @@ import org.cqfn.diktat.common.config.rules.DIKTAT_COMMON import org.cqfn.diktat.common.config.rules.RulesConfig import org.cqfn.diktat.common.config.rules.RulesConfigReader import org.cqfn.diktat.ruleset.constants.Warnings +import org.cqfn.diktat.ruleset.rules.OrderedRuleSet.Companion.ordered import org.cqfn.diktat.ruleset.rules.chapter1.FileNaming import org.cqfn.diktat.ruleset.rules.chapter1.IdentifierNaming import org.cqfn.diktat.ruleset.rules.chapter1.PackageNaming @@ -227,8 +228,7 @@ class DiktatRuleSetProvider(private var diktatConfigFile: String = DIKTAT_ANALYS return RuleSet( DIKTAT_RULE_SET_ID, rules = rules.toTypedArray() - ) -// .ordered() + ).ordered() } private fun validate(config: RulesConfig) =