mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
It's a little brute force, but since we have a small amount of docs currently it should help us in the near term to avoid releasing doc updates for features that have not been released yet. Signed-off-by: Brian McGee <brian@bmcgee.ie>
449 B
449 B
outline |
---|
none |
Quick start
To run treefmt
in your project, follow these steps:
- Install
treefmt
. - Ensure any formatters you wish to use are also installed e.g.
gofmt
- Run
treefmt --init
to generate a basic configuration filetreefmt.toml
. - Edit
treefmt.toml
, configuring formatters as desired. - Run
treefmt
anywhere in your project to format the whole tree.