fmt
The fmt command will format your BAML files.
Warning: Beta Feature
This feature is still in-progress, and does not yet support all BAML syntax.
Usage
Details
To disable the formatter in a file, you can add
anywhere in the file, as a plain // comment. A /// line is a doc comment
and documents the declaration after it instead.
Formatting is done in-place and non-configurable.
The canonical formatter style uses four-space indentation. Class fields are written with a colon and trailing comma, for example name: string,; the formatter may accept and repair certain unambiguous alternate spellings.