VibeHunt
Back to browse

cljstyle

Tool for formatting Clojure code

Source

The tool formats Clojure source files, transforming irregular or inconsistent code into a standardized layout. It parses namespaces, require, use, import, and function definitions, then rewrites them according to configurable style rules, producing output that aligns with common Clojure formatting conventions.

It is intended for developers who work with Clojure and want an automated way to enforce consistent code style across projects. The binary can be invoked directly from the command line to check files for style violations, apply fixes, or pipe code through stdin/stdout. Additional commands let users list files that would be processed, view the effective configuration, and obtain version information, while a verbose flag provides debugging details.

Distribution includes native‑compiled binaries for macOS and Linux, a Homebrew Cask for macOS, and Maven‑compatible artifacts on Clojars, allowing integration with build tools such as Leiningen and tools.deps. The project emphasizes configurability and ease of installation without requiring a package manager.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps