First Pull Request


Rule: Modifier order arturbosch/detekt

`private lateinit var` vs. `lateinit private var` Both are valid in Kotlin, but I'd like the ability to enforce one.

Created - 2 comments - easy feature formatting

Rule: Safe cast instead of if-else-null arturbosch/detekt

Instead of writing: ```kotlin if (element is KtElement) element else null ``` we can write ```kotlin element as? KtElement ```

Created - 5 comments - easy feature formatting

Displaying all 2 issues

License

Language