GS/BS
← Standards directory
Formatting

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.

Kotlin

Community rubric · v1

The evidence

Evidence coverage1 / 8
1 supported · 7 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Verified

    KtLint specifies which EditorConfig properties configure its rules, their defaults, and how to override them for particular files.

    Cited source ↗
  • Measurement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can someone repeat the measurement? Contribute evidence ↗

  • Conformance

    Unknown

    No reviewed evidence is recorded for this dimension.

    What would demonstrate a violation? Contribute evidence ↗

  • CI enforcement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a change trigger a useful check? Contribute evidence ↗

  • Getting started

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a newcomer complete a first run? Contribute evidence ↗

  • Real-world adoption

    Unknown

    No reviewed evidence is recorded for this dimension.

    Has another team put it to work? Contribute evidence ↗

  • Agent guidance

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can an agent act on a specific finding? Contribute evidence ↗

  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Run the check with the tool installed and configured for your project.

ktlint

Agent prompt

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.
Read the agent skill ↗

Primary source

ktlint documentation ↗