Are there plans to add android configurations to L...
# detekt
z
Are there plans to add android configurations to Lint rule sets outside of the formatting group? i.e. Empty blocks are valid in android https://developer.android.com/kotlin/style-guide#empty_blocks as long as they are on a new line. A global variable for this configuration option could be useful
b
It's correct as code style. But it is a code smell.
s
@Brais Gabin is right. You could name the variable accordingly.
Copy code
try {
  doSomething()
} catch (_: Exception) {
}