Formatting code
Last updated
Last updated
It's important to keep the same formatting style as the original if you want to add new features to your project as ShipClojure developes. It is important to keep the same formatting rules to not have useless conflicts based on whitespace.
I recommend using . It is non-invasive yet does exactly what I expect from a formatter. ShipClojure comes with standard-clj as a dev dependency.
ShipClojure comes with a pre-commit hook that formats all staged clojure files. So you shouldn't worry about it too much.
To disable it, remove
See for how to setup to use standard-clj
on save.
Please submit other configurations to run standard-clj on save for other editors 🙏