cljfmt is a static analysis and formatting tool for Clojure code, enforcing styling rules derived from the official Clojure Style Guide. It detects and fixes formatting errors while preserving code structure. It integrates with Clojure CLI, Leiningen, Brew, and can run as a standalone, CLI tool, or build plugin.

Features

  • Detects style issues and fixes automatically
  • Configurable via .cljfmt.edn or cljfmt.clj files
  • Supports Clojure CLI, Leiningen, Boot, standalone binary
  • Runs on CLI and integrates in CI pipelines
  • Minimal code changes, preserving structure
  • Installs via Homebrew as cljfmt formula

Project Samples

Project Activity

See All Activity >