Skip to content

Commit 8d24a01

Browse files
fix(clojure-cli): tweak links and wording for clojure style page
1 parent f3b3511 commit 8d24a01

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/clojure-cli/clojure-style.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Code is easier to read and work with when it is consistent format that follows common rules.
44

5-
[Clojure community style guide](https://github.com/bbatsov/clojure-style-guide) provides a common style for Clojure code. While most style recommendations are widely used, others are more contentious. Ultimately the development team for the project should define a workable set of style rules that makes them productions, ideally using much of those rules from the style guide.
5+
[:fontawesome-brands-github: Clojure community style guide](https://github.com/bbatsov/clojure-style-guide) provides a common style for Clojure code. While most style recommendations are widely used, others are more contentious. Ultimately the development team for the project should define a workable set of style rules that makes them productions, ideally using much of those rules from the style guide.
66

77
A consistent format between editors also minimises version control changes not related to code design. The following format tools for clojure can all be configured to be consistent with each other (although zprint defaults will require more customisation):
88

@@ -12,9 +12,9 @@ A consistent format between editors also minimises version control changes not r
1212

1313

1414
??? INFO "Tooling that uses the Clojure Style Guide"
15-
Emacs `clojure-mode` and Clojure LSP (via cljfmt) format code following the most common Clojure style guide rules, although cljfmt rules are quite strick so Practicalli disables many of them.
15+
Emacs `clojure-mode` and Clojure LSP (via cljfmt) format code following the most common Clojure style guide rules, although cljfmt rules seem restrictive around line spacing so Practicalli disables those rules.
1616

17-
cljstyle default configuration follows the majority of styles and has the same defaults as cljfmt. :fontawesome-solid-book-open: Practicalli Clojure CLI Config tweaks a few rules to make code more readable and allow for repl design experiments.
17+
cljstyle default configuration follows the majority of styles and has the same defaults as cljfmt. [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](practicalli-config.md) tweaks a few rules to make code more readable and allow for repl design experiments.
1818

1919

2020
## cljstyle
@@ -51,7 +51,7 @@ Cljstyle will examine all files in the current directory and any sub-directories
5151

5252

5353
=== ":fontawesome-solid-book-open: Practicalli Clojure CLI Config"
54-
cljstyle can be used as a library without installing the cljstyle binary. [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](/clojure/clojure-cli/practicalli-config/) defines the `:format/cljstyle` alias which should be passed wither the `check` or `format` option
54+
cljstyle can be used as a library without installing the cljstyle binary. [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](practicalli-config.md) defines the `:format/cljstyle` alias which should be passed wither the `check` or `format` option
5555

5656
Check all the Clojure files (.clj .cljc .edn .cljs) in the current project
5757
```shell

0 commit comments

Comments
 (0)