node-cljfmt
node-cljfmt copied to clipboard
A node script that reformats a file to proper clojure formatting
It seems this is something already solved [here](https://github.com/weavejester/cljfmt/issues/106). How can I rebuild this `node-cljfmt` with rewrite-clj v1?
I use vim, and I add the following snippet to my `~/.vimrc` file ``` au BufWritePost *.cljs !cljfmt -w % ``` Thanks for this good tool again.
`cljfmt` has default options which get overriden by user provided options using `edn` parameter. To preserve default options merge it with user defined. This PR also switches from custom args...
When I run code through stdin -> stdout multiple times, every time it adds a new line at the end of the file do to the `console.log`. This patch prevents...
clojure cljfmt supports `{:indents {#".*" [[:inner 0]]}}` but node cljfmt does not. I poked around the code base and have a fix for this. I will do a PR shortly....
Update all dependencies to the latest versions