Fourmolu
6.7#3 in code formatting toolsFree planFree planWebLinuxWindows
Visit| Fact | Fourmolu | swift-format |
|---|---|---|
| Configuration | Settings can be provided in a fourmolu.yaml file or as command-line options. | Users can customize supported behavior with a JSON configuration file, and the tool searches parent directories for a .swift-format file. |
| Purpose | Fourmolu formats Haskell source code and is a configurable fork of Ormolu. | swift-format provides formatting technology for Swift source code and building blocks for code formatting transformations. |
It suits Haskell developers who want configurable source formatting, including teams seeking editor or CI integration. Developers using CPP or CRLF line endings should review its stated limitations.
It suits Swift developers who need command-line formatting, lint checks, package plugins, or library APIs. It is also relevant for SourceKit-LSP integrations.