Fourmolu
6.7#3 in code formatting toolsFree planFree planWebLinuxWindows
Visit| Fact | Fourmolu | shfmt |
|---|---|---|
| Configuration | Settings can be provided in a fourmolu.yaml file or as command-line options. | shfmt reads formatting options from EditorConfig files when parser or printer flags are not provided. |
| Purpose | Fourmolu formats Haskell source code and is a configurable fork of Ormolu. | shfmt formats shell programs and is included in a shell parser, formatter, and interpreter project. |
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.
shfmt suits shell developers who want consistent formatting or syntax checks across POSIX Shell, Bash, Zsh, mksh or Bats. Editor integrations and a library API also serve users integrating it into editor or code workflows.