Skip to content

Commit

Permalink
Update per CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixeliot authored and logseq-cldwalker committed Jan 4, 2023
1 parent 83a7bee commit 133028c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/dev-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
This page describes development practices for this codebase.

## Auto-formatting
`cljfmt` is a common formatter used for Clojure, analogous to Prettier for other languages. While we do not format/indent consistently with `cljfmt` across the whole codebase, we recommend that you do so for code that you change/add. You can do so easily with the [Calva](https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva) extension in VSCode: It will (mostly) indent your code correctly as you type, and you can move your cursor to the start of the line(s) you've written and press `Tab` to auto-indent all clojure forms nested under the one starting on the current line.

[cljfmt](https://cljdoc.org/d/cljfmt/cljfmt/0.9.0/doc/readme) is a common formatter used for Clojure, analogous to Prettier for other languages. While we do not format/indent consistently with cljfmt across the whole codebase, we recommend that you do so for code that you change/add. You can do so easily with the [Calva](https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva) extension in [VSCode](https://code.visualstudio.com/): It will (mostly) indent your code correctly as you type, and you can move your cursor to the start of the line(s) you've written and press `Tab` to auto-indent all Clojure forms nested under the one starting on the current line.

## Linting

Expand Down

0 comments on commit 133028c

Please sign in to comment.