Skip to content

Commit 6807e3d

Browse files
committed
ocamlformat in Jane-Street only files in typing/
1 parent f2a5ff3 commit 6807e3d

File tree

8 files changed

+1546
-1216
lines changed

8 files changed

+1546
-1216
lines changed

ocaml/typing/.ocamlformat

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Please make a pull request to change this file.
2+
disable=true
3+
# There is an .ocamlformat-enable file in this directory.
4+
# Keep the remainder of this file in sync with other .ocamlformat files in this repo.
5+
assignment-operator=begin-line
6+
cases-exp-indent=2
7+
doc-comments=before
8+
dock-collection-brackets=false
9+
if-then-else=keyword-first
10+
module-item-spacing=sparse
11+
parens-tuple=multi-line-only
12+
sequence-blank-line=compact
13+
space-around-lists=false
14+
space-around-variants=false
15+
type-decl=sparse
16+
version=0.24.1
17+
18+
# The existing comments are hand-formatted and lose a lot of readability
19+
# if we wrap them. We should either convert the comments we care about to
20+
# doc comments, or make this same setting change everywhere.
21+
wrap-comments=false

ocaml/typing/.ocamlformat-enable

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
jkind.ml
2+
jkind.mli
3+
mode.ml
4+
mode.mli
5+
uniqueness_analysis.ml
6+
uniqueness_analysis.mli

0 commit comments

Comments
 (0)