ocaml/dune

disable auto formatting for specific dune files

開放

#10,862 建立於 2024年8月30日

 (1 則留言) (0 個反應) (0 位負責人)OCaml (478 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (1,882 顆星)
PR 合併指標
 (平均合併 1天 20小時) (30 天內合併 345 個 PR)

描述

Desired Behavior

In a dune file, having a stanza (formatting disabled) would ensure that the file doesn't get touched when dune build @fmt runs.

We have dune files where the content written by hand is much more readable then when it's being auto formatted. Often because of what is explained in #10861, but not only. In those cases it would be nice to be able to preserve part of a dune file or a whole dune file.

貢獻者指南