Skip to content

[REQ][OCaml] Format generated files #21806

@sir4ur0n

Description

@sir4ur0n

Is your feature request related to a problem? Please describe.

Follow-up of #21798 (comment)

Describe the solution you'd like

There are several options:

  • only generate a .ocamlformat file but don't format files (users can then easily format if they have ocamlformat installed)
  • generate a .ocamlformat file and format this repository's files, but don't format user-generated OCaml files
  • generate a .ocamlformat file and format after generation if ocamlformat binary is available

@wing328 which one do you want?

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions