Skip to content
SPECIFICTION
Get listed

Dart formatter vs Fantomas

Dart formatter

dart.dev

Fantomas

fsprojects.github.io

Side by side

FigureDart formatterFantomas
Price from—Free
Free plan—Yes
Free trial——
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Plans published01
Spec score · Code Formatting Tools6.1 (#31)8.0 (#9)

Plans

Dart formatter

No plans published.

Dart formatter pricing →

Fantomas

  • FantomasFree

Fantomas pricing →

In their own words

Dart formatter

Dart formatter has no write-up on Specifiction yet; its figures are above.

Visit dart.dev

Fantomas

Fantomas formats F# source code according to configuration, using default rules based on Microsoft’s F# style guide. Settings are also available for G-Research conventions. It runs as a .NET tool, and local installation is recommended when a repository needs to keep a fixed version. The command line accepts folders or files with `.fs`, `.fsi`, `.fsx`, `.ml` or `.mli` extensions; source files are expected to parse with the F# compiler before formatting. A limited selection of options can be placed in `.editorconfig` for automatic use by the command-line tool. For continuous integration checks, `dotnet fantomas check` reports formatting drift and exits with a failure code when files need formatting. Setup guides are available for JetBrains Rider, Visual Studio Code and Visual Studio, and the official site links to an online tool for trying the formatter and its settings. Fantomas and its library are available under the Apache 2.0 license. The project is described as an fsprojects incubation project. It is free and open source, with web access listed alongside Linux, macOS and Windows.

Visit fsprojects.github.io