fantomas 8.0.0-alpha-025
See the version list below for details.
dotnet tool install --global fantomas --version 8.0.0-alpha-025
dotnet new tool-manifest
dotnet tool install --local fantomas --version 8.0.0-alpha-025
#tool dotnet:?package=fantomas&version=8.0.0-alpha-025&prerelease
nuke :add-package fantomas --version 8.0.0-alpha-025
Fantomas

An opinionated F# source code formatter.
dotnet tool install fantomas
Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html
If you point a coding agent at Fantomas, give it llms.txt for an index of the documentation, or llms-full.txt for all of it in one file.
Contributing Guidelines
See the Contribution Guidelines and our contributors documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0-alpha-026 | 7 | 8/29/2026 |
| 8.0.0-alpha-025 | 94 | 8/28/2026 |
| 8.0.0-alpha-024 | 43 | 8/28/2026 |
| 8.0.0-alpha-023 | 52 | 8/28/2026 |
| 8.0.0-alpha-022 | 272 | 8/27/2026 |
| 8.0.0-alpha-021 | 38 | 8/27/2026 |
| 8.0.0-alpha-020 | 55 | 8/27/2026 |
| 8.0.0-alpha-019 | 379 | 8/26/2026 |
| 8.0.0-alpha-018 | 42 | 8/26/2026 |
| 8.0.0-alpha-017 | 287 | 8/25/2026 |
| 8.0.0-alpha-016 | 441 | 8/25/2026 |
| 8.0.0-alpha-015 | 220 | 8/24/2026 |
| 8.0.0-alpha-014 | 126 | 8/20/2026 |
| 8.0.0-alpha-013 | 114 | 8/19/2026 |
| 8.0.0-alpha-012 | 7,137 | 4/16/2026 |
| 8.0.0-alpha-011 | 175 | 4/15/2026 |
| 8.0.0-alpha-010 | 171 | 4/15/2026 |
| 8.0.0-alpha-009 | 338 | 4/3/2026 |
| 8.0.0-alpha-008 | 179 | 3/25/2026 |
| 7.0.6 | 4,765 | 8/19/2026 |
### Fixed
- A `!` line of a `.fantomasignore` takes a path back out again even when a line above it matched the folder holding that path, so `sub/*` followed by `!sub/keep` formats and checks the files under `sub/keep`. Since `8.0.0-alpha-016` a folder an ignore file names is never opened, which is what a folder pattern should mean and is not what it can mean here: closing `sub` decides that `sub/keep` is not there, and the line that would have taken it back out is never reached. The files were not reported as ignored, they were never found, so `--check` passed over a scope smaller than the ignore file describes and `doctor`, which asks about one file and answers correctly, disagreed with the run about that same file. An ignore file that negates anything now leaves every folder open and asks about the files inside one at a time, which is what every version up to `8.0.0-alpha-015` did. An ignore file with no `!` line in it still closes the folders it names. [#3447](https://github.com/fsprojects/fantomas/issues/3447)