cljstyle
« Back to VersTracker
Description:
Tool for formatting Clojure code
Type: Cask  |  Latest Version: 0.17.642@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: clojure formatter linter development code-style
Install: brew install --cask cljstyle
About:
cljstyle is a command-line tool that automatically formats Clojure, ClojureScript, and EDN source files according to a configurable style guide. It enforces consistent code structure by analyzing and rewriting code based on rules for whitespace, indentation, and grouping. This helps maintain a clean, standardized codebase with minimal manual effort.
Key Features:
  • Configurable style rules via .cljstyle config file
  • Handles formatting, indentation, and whitespace normalization
  • Supports Clojure, ClojureScript, and EDN file types
  • Can check for style violations or apply fixes automatically
Use Cases:
  • Enforcing consistent code style across a team project
  • Automated formatting in CI/CD pipelines to prevent style drift
  • Refactoring legacy codebases to meet modern style standards
Alternatives:
  • zprint – Also a Clojure code formatter with a focus on preserving code structure and offering extensive configuration options.
  • cljfmt – A Leiningen plugin and standalone tool for formatting Clojure code, often used with editor integrations.
Version History
Detected Version Rev Change Commit