Skip to content

Commit

Permalink
reverted changes committed by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Jun 22, 2022
1 parent af82d3a commit cce8c7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) =
Expand Down

0 comments on commit cce8c7a

Please sign in to comment.