Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a reporter that combines the benefits of FindingsReporter and LiteFindintsReporter #4463

Closed
gfreivasc opened this issue Jan 6, 2022 · 1 comment
Labels

Comments

@gfreivasc
Copy link
Contributor

It would be good to have a reporter that combines the easy to navigate layout structure of FindingsReporter with the extra details found on LiteFindingsReporter.

Expected Behavior

fun main() {
println("Hello World!")
}

It would be nice to have the output being as follows:

formatting - 5min debt
        Indentation - [Unexpected indentation (0) (should be 4)] at /Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1

Current Behavior

For FindingsReporter

formatting - 5min debt
        Indentation - [] at /Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1

Which omits details about the rule

For LiteFindingsReporter

/Users/gabrielfv/Projects/detekt/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt:23:1: Unexpected indentation (0) (should be 4) [Indentation]

Which displays the information, but in a rather messy format, especially on large reports.

Context

Based on #4446.

@cortinico
Copy link
Member

Fixed by #4464

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants