Kotlin
Ready58 lint rules
Each bar is measured on real-world code against the default rule set of the reference tool; the tick marks 85%. Ready means the first tool of each column is at least 85%; the others are shown for reference. How Kotlin is measured.
Parity
Section titled “Parity”Format
Lint
| Task | Compared with | Sudsy speed | Time (Sudsy / tool) | Peak memory (Sudsy / tool) |
|---|---|---|---|---|
| Format | ktlint | 30× faster | 1.61 s / 48.42 s | 501 / 715 MB |
| Lint | ktlint | 42× faster | 1.14 s / 48.01 s | 485 / 683 MB |
Presets
Section titled “Presets”A preset is an ordinary sudsy.yaml; use one with extends.
kotlin/ktlint:extends: [preset:kotlin/ktlint]
58 lint rules apply to Kotlin: browse them.