Splint is a Clojure linter that examines coding style and the structure of expressions. Inspired by tools such as RuboCop and kibit, it helps developers follow established Clojure conventions and identify opportunities to simplify their code.
The application analyses source forms without executing them or expanding macros. Its rules concentrate on code shape rather than the meaning of variables or functions, making it complementary to tools such as clj-kondo and Eastwood.
Splint provides checks covering suspicious expressions, naming conventions, code complexity, performance and idiomatic Clojure style. Developers can enable or disable individual rules, adjust their behaviour and exclude particular files or expressions from analysis.
Some suggestions can be applied automatically, either directly or through an interactive confirmation process. The documentation warns that autocorrection can remove comments and unevaluated forms from modified expressions, so changes should be reviewed carefully.
This is free and open source software.
Key Features
- Linting rules grouped into style, naming, metrics, performance and correctness categories.
- Detects unnecessarily complex expressions and suggests more idiomatic alternatives.
- Checks naming conventions for functions, variables and other definitions.
- Measures code properties such as function length and parameter counts.
- Optional performance rules identify expressions with potentially more efficient alternatives.
- Configurable rules through .splint.edn, including rule-specific options.
- Exclude files using paths, glob patterns and regular expressions.
- Inline directives disable selected rules for individual expressions.
- Automatic correction for supported safe rules, with an interactive confirmation mode.
- Supports user-defined rules loaded from additional source files.
- Generates configuration files based on warnings found in an existing project.
- Plain text, Markdown, JSON and clj-kondo-compatible diagnostic output.
- Supports Clojure and ClojureScript source analysis.
- Parallel analysis of source files and configurable summary reporting.
Website: github.com/NoahTheDuke/splint
Support:
Developer: Noah Bogart
License: Mozilla Public License v2.0
Splint is written in Clojure. Learn Clojure with our recommended free books and free tutorials.
Related Software
| Clojure Linter Tools | |
|---|---|
| kibit | Static code analyzer for Clojure, ClojureScript, cljx and other Clojure variants |
| Joker | Small Clojure interpreter, linter and formatter |
| eastwood | Inspects namespaces and reports possible problems |
| clj-kondo | Static analyzer and linter for Clojure |
| Splint | Focuses on style and code shape |
| Yagni | Leiningen plugin for finding dead code |
| lein-bikeshed | Leiningen plugin |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.