Skip to content

Commit

Permalink
diktatFix probably
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Apr 3, 2023
1 parent 435e1f7 commit a85583a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ class CommentsRule(configRules: List<RulesConfig>) : DiktatRule(

@Suppress("MaxLineLength")
companion object {
private val logger = KotlinLogging.logger {}
const val NAME_ID = "comments"
private val logger = KotlinLogging.logger {}
private val importKeywordWithSpace = "${KtTokens.IMPORT_KEYWORD.value} "
private val packageKeywordWithSpace = "${KtTokens.PACKAGE_KEYWORD.value} "
private val importOrPackage = """($importKeywordWithSpace|$packageKeywordWithSpace)""".toRegex()
Expand Down

0 comments on commit a85583a

Please sign in to comment.