Skip to content

Commit

Permalink
flambda-backend: ocamlformat in Jane-Street only files in typing (#1881)
Browse files Browse the repository at this point in the history
ocamlformat in Jane-Street only files in typing/
  • Loading branch information
goldfirere authored Oct 2, 2023
1 parent 5e50edf commit 5ad9591
Show file tree
Hide file tree
Showing 8 changed files with 1,546 additions and 1,216 deletions.
21 changes: 21 additions & 0 deletions typing/.ocamlformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Please make a pull request to change this file.
disable=true
# There is an .ocamlformat-enable file in this directory.
# Keep the remainder of this file in sync with other .ocamlformat files in this repo.
assignment-operator=begin-line
cases-exp-indent=2
doc-comments=before
dock-collection-brackets=false
if-then-else=keyword-first
module-item-spacing=sparse
parens-tuple=multi-line-only
sequence-blank-line=compact
space-around-lists=false
space-around-variants=false
type-decl=sparse
version=0.24.1

# The existing comments are hand-formatted and lose a lot of readability
# if we wrap them. We should either convert the comments we care about to
# doc comments, or make this same setting change everywhere.
wrap-comments=false
6 changes: 6 additions & 0 deletions typing/.ocamlformat-enable
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jkind.ml
jkind.mli
mode.ml
mode.mli
uniqueness_analysis.ml
uniqueness_analysis.mli
Loading

0 comments on commit 5ad9591

Please sign in to comment.