Skip to content

Commit 7c5da09

Browse files
committed
Mention the use of ocamlformat in the contributing guide.
1 parent 406c764 commit 7c5da09

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

CONTRIBUTING.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@ issue has not already been submitted.
3838

3939
### Styleguides
4040

41-
As of today, Merlin's codebase does not use a code formatter. When contributing
42-
code to an existing module, one should adopt the style of the surrounding code.
43-
Please keep lines under 80 characters.
44-
45-
We plan to move the codebase to ocamlformat in a near future.
41+
Merlin uses ocamlformat. When contributing code, please always format it by
42+
running `dune fmt` before submitting a PR. The required version of ocamlformat
43+
can be found in the `.ocamlformat` configuration file.
4644

4745
Changes unrelated to the issue addressed by a PR should be made in a separate
4846
PR. Additionally, formatting changes in parts of the code not concerned by a

0 commit comments

Comments
 (0)