what's the correct way to write a `ignoreFunction`...
# detekt
e
what's the correct way to write a
ignoreFunction
for
SpreadOperator
here instead of using the annotation?
Copy code
package com.example.demo

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.scheduling.annotation.EnableAsync

@EnableAsync
@SpringBootApplication
class DemoApplication

fun main(args: Array<String>) {
    @Suppress("SpreadOperator")
    runApplication<DemoApplication>(*args)
}
b
You should target main. So
com.example.demo.main
should work.