detekt-api
1.21.0-RC2

# report

open fun report ( finding: Finding , aliases: Set < String > = emptySet(), ruleSetId: RuleSetId ? = null)
Content copied to clipboard

Reports a single new violation. By contract the implementation can check if this finding is already suppressed and should not get reported. An alias set can be given to additionally check if an alias was used when suppressing. Additionally suppression by rule set id is supported.

open fun report ( findings: List < Finding >, aliases: Set < String > = emptySet(), ruleSetId: RuleSetId ? = null)
Content copied to clipboard

Same as report but reports a list of findings.