spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
murtaza52 2020-09-02T08:03:31.010Z

@jr0cket which linting / formatting tool are you using in your spacemacs.d distribution ? (my colleagues may want to integrate it with their tooling)

practicalli-john 2020-09-02T08:18:01.010100Z

I assume it's what ever clojure-mode is using https://github.com/clojure-emacs/clojure-mode I'll take a look at the Spacemacs Clojure layer when I get to my computer

practicalli-john 2020-09-02T10:00:05.010400Z

I cant see any obvious library that CIDER uses for formatting code, it seems to have its own functions for that. The Spacemacs Clojure does not add any formatting tools. If someone is using Calva or Cursive, then formatting should be the same. clj-kondo is used for linting, its far the best tool for this, especially in terms of usability. I dont use others as it just adds complexity without any benefit to me.

practicalli-john 2020-09-02T10:03:17.010600Z

If you cant get formatting aligned between the different editors, you could try using https://github.com/weavejester/cljfmt as a command line task on the project before doing a commit of code. This would also mean you could use what ever formatting you wanted in the editors and then fix before commits.