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.

贡献者指南