Skip to content

Commit 3685937

Browse files
committed
Applied previously-unfollowed line length limit
fixes some CI linter
1 parent a20db2d commit 3685937

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

data/tutorials/platform/1_07_code_formatting.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,24 @@ category: "Editor Support"
99

1010
## Using OCamlFormat
1111

12-
Automatic formatting with OCamlFormat requires an `.ocamlformat` configuration file at the root of the project.
12+
Automatic formatting with OCamlFormat requires an `.ocamlformat` configuration
13+
file at the root of the project.
1314

14-
An empty file is accepted, but since different versions of OCamlFormat will vary in formatting, it
15-
is good practice to specify the version you're using. Running
15+
An empty file is accepted, but since different versions of OCamlFormat will
16+
vary in formatting, it is good practice to specify the version you're using.
17+
Running
1618

1719
```shell
18-
$ echo "version = `ocamlformat --version`" > .ocamlformat
20+
echo "version = `ocamlformat --version`" > .ocamlformat
1921
```
2022

21-
creates a configuration file for the currently installed version of OCamlFormat.
23+
creates a configuration file for the currently installed version of
24+
OCamlFormat.
2225

23-
In addition to editor plugins that use OCamlFormat for automatic code formatting, Dune also offers a command to run OCamlFormat to automatically format all files from your codebase:
26+
In addition to editor plugins that use OCamlFormat for automatic code
27+
formatting, Dune also offers a command to run OCamlFormat to automatically
28+
format all files from your codebase:
2429

2530
```shell
26-
$ opam exec -- dune fmt
27-
```
31+
opam exec -- dune fmt
32+
```

0 commit comments

Comments
 (0)