mirror of
https://github.com/numtide/treefmt.git
synced 2024-08-17 21:00:27 +03:00
443 B
443 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.