clj-commons / clj-commons/formatter
Formatting let bindings
Open
- Dominant language
- No language data
- Stars
- 35
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Similar to #7 on formatting maps, how should let bindings be formatted? Should all of the `init-form`s (right hand side) be aligned, or have a ragged alignment?
```clj
(let [a nil
very-long-symbol {}])
;; or
(let [a nil
very-long-symbol {}])
```
Should lines that are destructuring collections be handled differently? They can get very long and would cause large gaps in `let` bindings if they were included.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.