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

I am seeing this: https://github.com/weavejester/cljfmt/blob/1003c677200e90bc19f7c8d83ea58bd17b900a5e/cljfmt/src/cljfmt/main.clj#L169 But the `project.clj` file is ignored when running `lein cljfmt check` (empty configuration), unless I specifically specify it (`lein cljfmt check project.clj`). I've narrowed it...

Hi, Congrats on the awesome work! I am planning to use this plug-in on the project that I am working on at my job. Currently, the documentation says that: >...

This is a follow-up to #333 with the implementation outlined by @weavejester over there. I think the main decision I made in here was the name and signature of the...

#336 Initial shot at implementing the ability to import a subset of config values from additional configs found elsewhere. My use-case is specifically the ability to import :extra-indents from other...

Hi, I'm working on a custom defprotocol which can be tweaked via metadata. I'm finding that cljfmt wants to add extra indentation if metadata is found, i.e.: ```diff (defprotocol Chat...

Is it possible to have an option to format code to 80 columns?

It's possible I'm just missing this and it's already possible, but it seems like cljfmt currently doesn't support a way to split up the config across multiple files? clj-kondo supports...

We'd love to see support for a pre-commit hook similar to what clj-kondo added support for: https://github.com/clj-kondo/clj-kondo/issues/1705 This makes it dead simple to use in CI, local dev machines, pin...

Tell me if you were ready to accept PR into the code base allowing formatting namespaces in the ways described in the [article by Stuart Sierra how-to-ns](https://stuartsierra.com/2016/clojure-how-to-ns.html)? I mean this...

Here is an attempt to solve issue #45. The concrete issue is nesting a `->` with a `cond->` inside. Because `cond->` has indent `[[:block 1]]`, the parameters will not be...