Open jubnzv opened 2 months ago
Summary An optional detector that reports all the single-letter identifiers defined within the project.
Context Single-letter names are usually less readable and make code harder to understand.
Example
fun calculateFee(a: Int): Int { let f: Int = (a * 2) / 100; return f; }
Use instead:
fun calculateFee(amount: Int): Int { let fee: Int = (amount * 2) / 100; return fee; }
Blocked with #142. Without it implemented, the detector will be too noisy.
Summary An optional detector that reports all the single-letter identifiers defined within the project.
Context Single-letter names are usually less readable and make code harder to understand.
Example
Use instead: