GS/BS
← Standards directory
Code quality

clj-kondo.

Find invalid calls in Clojure source

Lint namespaces with project-specific hooks for macros. Track unresolved symbols and arity mismatches across maintained source directories.

Clojure / ClojureScript

Community rubric · v1

The evidence

Evidence coverage4 / 8
4 supported · 4 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

    The invalid-arity linter checks whether the number of arguments in a call fits a known function signature.

    Cited source ↗
  • Measurement

    Verified

    The command-line example analyzes Clojure source and reports the file, line and column for each warning or error, along with a run summary.

    Cited source ↗
  • 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

    Verified

    The README links installers and demonstrates linting a short Clojure form from stdin. It shows the exact line, column and warning produced for its nested definition.

    Cited source ↗
  • Real-world adoption

    Verified

    Metabase configures a clj-kondo alias and documents linting its src and test trees with that alias. This demonstrates use on the project's Clojure sources.

    Cited source ↗
  • 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.

clj-kondo --lint src

Agent prompt

Use clj-kondo in this repository to meet this standard: Find invalid calls in Clojure source. Lint namespaces with project-specific hooks for macros. Track unresolved symbols and arity mismatches across maintained source directories. 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

clj-kondo documentation ↗