# ktlint

Verify Kotlin formatting from EditorConfig

Declare the Kotlin code style and EditorConfig settings for each module. Run the formatter's check mode with the version pinned in the build.

Category: Formatting
Languages: Kotlin

## Standard evidence

Rubric v1 · 1/8 verified · 7 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — KtLint specifies which EditorConfig properties configure its rules, their defaults, and how to override them for particular files. Reviewed 2026-11-28. [Source](https://ktlint.github.io/ktlint/latest/rules/configuration-ktlint/)
- **Measurement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use ktlint in this repository to meet this standard: Verify Kotlin formatting from EditorConfig. Declare the Kotlin code style and EditorConfig settings for each module. Run the formatter's check mode with the version pinned in the build. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
ktlint
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://pinterest.github.io/ktlint/)
- [Agent skill](/skills/kotlin-ktlint/SKILL.md)
