Skip to content

Commit

Permalink
feature/more-prefixes-boolean-methods(#417)
Browse files Browse the repository at this point in the history
### What's done:
  * Added more prefixes
### Need to be done:
  * Configuration option
  * More tests
  • Loading branch information
aktsay6 committed Dec 29, 2020
1 parent e6c6f7f commit 58cb8fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class IdentifierNaming(private val configRules: List<RulesConfig>) : Rule("ident

// FixMe: this should be moved to properties
val oneCharIdentifiers = setOf("i", "j", "k", "x", "y", "z")
val booleanMethodPrefixes = setOf("has", "is")
val booleanMethodPrefixes = setOf("has", "is", "are", "have", "should")
val confusingIdentifierNames = setOf("O", "D", "I", "l", "Z", "S", "e", "B", "h", "n", "m", "rn")
}
}

0 comments on commit 58cb8fa

Please sign in to comment.