cljfmt icon indicating copy to clipboard operation
cljfmt copied to clipboard

A tool for formatting Clojure code

Results 74 cljfmt issues
Sort by recently updated
recently updated
newest added

Fixes #349 After spending a few hours trying to figure out the best way to solve this problem without changing too much stuff I decided to changed the `indent` order...

Fixes #351 While working on this I tried to think of all the possible weird edge cases I could and found that it also broke in a few even weirder...

When using `cljfmt` sorting ns `:require` forms with `:clj-kondo/ignore` comments doesn't really work. e.g. ```clj (ns my.namespace (:require [a1.namespace] #_{:clj-kondo/ignore [:discouraged-namespace]} [a2.discouraged-namespace :as a2])) ``` gets sorted to ```clj (ns...

There seems to be a problem with `[[:inner 1]] indentation handling when you have a indentation spec defined that matches the form symbol inside something like `extend-protocol` or `defprotocol`. E.g....