Index of all built-in rules available for Kotlin
Table of Contents

Best Practices

Rules which enforce generally accepted best practices.
  • FunctionNameTooShort: Function names should be easy to understand and describe the intention. Makes developers happy.
  • LocalVariableShadowsParameter: A local variable declaration uses the same name as a parameter of the enclosing function. …
  • LooseCoupling: Excessive coupling to implementation types (e.g., ‘HashMap’) limits your ability to use alternate…

Error Prone

Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors.