Hey friends,
I've noticed that there's a fair amount of inconsistency across the various files of indentation. Some files indent are args with hang indent and some with flow indent. (Terms defined by zprint.) Not to mention that there's differences between spacing within the blocks (align each column or not, etc). Additionally, there's a fair amount of difference in how reader conditionals are indented. Is this something we want to normalize? Should we use an auto-formatter?
Hang:
|
(are [in ex] (= ex (abs in)) |
|
-1 1 |
Flow:
|
(are [expected set keys] (= expected (persistent! (apply disj! (transient set) keys))) |
|
#{} #{} [nil] |
Hey friends,
I've noticed that there's a fair amount of inconsistency across the various files of indentation. Some files indent
areargs with hang indent and some with flow indent. (Terms defined by zprint.) Not to mention that there's differences between spacing within the blocks (align each column or not, etc). Additionally, there's a fair amount of difference in how reader conditionals are indented. Is this something we want to normalize? Should we use an auto-formatter?Hang:
clojure-test-suite/test/clojure/core_test/abs.cljc
Lines 9 to 10 in 9b38590
Flow:
clojure-test-suite/test/clojure/core_test/disj_bang.cljc
Lines 8 to 9 in 9b38590