
Fantomas
6.3#10 in code formatting toolsFree planFree planWebLinuxmacOSWindows
Visit
| Fact | Fantomas | Fourmolu |
|---|---|---|
| Configuration | A limited set of formatting options can be stored in `.editorconfig` and read automatically by the command line tool. | Settings can be provided in a fourmolu.yaml file or as command-line options. |
| Purpose | Fantomas is an opinionated formatter for F# source code that formats files based on configuration. | Fourmolu formats Haskell source code and is a configurable fork of Ormolu. |
Fantomas suits F# developers who want consistent formatting in repositories or automated checks. It also fits teams using the listed editor integrations or `.editorconfig` settings.
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.