ktlint/ktlint
An anti-bikeshedding Kotlin linter with built-in formatter observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 99
- Release rhythm 44
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 42.5
- age_days: 3689
- days_rel: 292
- days_push: 11
- n_releases_24m: 7
Adoption not part of the score
6735 stars · 525 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Ktlint is an opinionated Kotlin linter with a built-in formatter that enforces a standard code style without configuration. It supports .editorconfig, multiple report formats, and custom rule sets.
Use cases
- lint kotlin code
- auto-format kotlin files
- enforce consistent code style in kotlin projects
- check kotlin style in CI
- fix style violations automatically
When to choose
- you want zero-config Kotlin style enforcement
- you need automatic fixing of style violations
- you want .editorconfig support and CI-friendly reporters
When to avoid
- you need highly customizable lint rules with fine-grained configuration
- you lint languages other than Kotlin
Facets
cli-tool · maturity active
linter formatter cli developer-tools developer-tools programming-languages jvm cli cross-platform kotlin code-style static-analysis editorconfig autocorrect command-line
2 sources
- readme: https://github.com/ktlint/ktlint · fetched 2026-08-28 · c4b62ea07d49
- homepage: https://ktlint.github.io/ktlint/ · fetched 2026-08-29 · 36c6c3c2e4f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ktlint/ktlint | main | 80 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem