Skip to content

Use Detekt to perform static analysis of Kotlin code #45583

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

Open
wilkinsona opened this issue May 16, 2025 · 0 comments
Open

Use Detekt to perform static analysis of Kotlin code #45583

wilkinsona opened this issue May 16, 2025 · 0 comments
Labels
for: team-meeting An issue we'd like to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged

Comments

@wilkinsona
Copy link
Member

Inspired by #45555 and #45574, we could apply Detekt's Gradle plugin as part of our Kotlin conventions. https://github.com/wilkinsona/spring-boot/tree/detekt does so with configuration that only checks for unused imports. We could expand this if we want by enabling more rules. Detekt's defaults find many more problems.

@wilkinsona wilkinsona added status: waiting-for-triage An issue we've not yet triaged for: team-meeting An issue we'd like to discuss as a team to make progress labels May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: team-meeting An issue we'd like to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

1 participant