Skip to content

Commit

Permalink
diktatFix
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Sep 22, 2023
1 parent e0a1124 commit 1e41d01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,10 +486,10 @@ class IdentifierNaming(configRules: List<RulesConfig>) : DiktatRule(
}

companion object {
private const val MAX_DETERMINISTIC_RUNS = 5
const val MAX_IDENTIFIER_LENGTH = 64
const val MIN_IDENTIFIER_LENGTH = 2
const val NAME_ID = "identifier-naming"
private const val MAX_DETERMINISTIC_RUNS = 5

// FixMe: this should be moved to properties
val oneCharIdentifiers = setOf("i", "j", "k", "x", "y", "z")
Expand Down

0 comments on commit 1e41d01

Please sign in to comment.