dimsuz
07/03/2023, 11:27 AMConfiguration
annotations like this in detekt's built-in rules:
@Configuration("ignores variables in classes which match this regex")
private val excludeClassPattern: Regex by config("$^") { it.toRegex() }
Should I use them in my custom rules? If yes, what will they do?
I've searched for example/explanation in api doc and detekt.dev, but there's no indication on the final effect of these.marschwar
07/03/2023, 11:37 AMBrais Gabin
07/03/2023, 11:43 AMdetekt-generator
that generates all the documentation of detekt. We worked a bit to make it useful for third parties but I think that no one used yet so we didn't push it too much. Any help/feedback in that department is more than welcome.
That module should generate a cli that should be able to parse any ruleset and generate markdowns with the docs and the default configuration file.dimsuz
07/03/2023, 11:51 AMdetekt-generator
for that once I get my hands on it.Brais Gabin
07/03/2023, 2:03 PMBrais Gabin
07/03/2023, 2:03 PMdimsuz
07/03/2023, 3:15 PM