fantomas 8.0.0-alpha-004

This is a prerelease version of fantomas.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global fantomas --version 8.0.0-alpha-004
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local fantomas --version 8.0.0-alpha-004
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=fantomas&version=8.0.0-alpha-004&prerelease
                    
nuke :add-package fantomas --version 8.0.0-alpha-004
                    

Fantomas

Fantomas logo

GitHub Workflow Status (event) Discord Nuget (with prereleases)

An opinionated F# source code formatter.

dotnet tool install fantomas

Documentation is available at https://fsprojects.github.io/fantomas/docs/index.html

Contributing Guidelines

See the Contribution Guidelines and our contributors documentation

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
8.0.6 1,266 10/1/2026
8.0.5 8,310 9/25/2026
8.0.4 1,825 9/23/2026
8.0.3 434 9/23/2026
8.0.2 3,933 9/22/2026
8.0.1 1,652 9/21/2026
8.0.0 26,591 9/15/2026
8.0.0-beta-003 1,013 9/12/2026
8.0.0-beta-002 328 9/8/2026
8.0.0-beta-001 803 9/1/2026
8.0.0-alpha-026 347 8/29/2026
8.0.0-alpha-025 232 8/28/2026
8.0.0-alpha-024 129 8/28/2026
8.0.0-alpha-023 137 8/28/2026
8.0.0-alpha-022 353 8/27/2026
8.0.0-alpha-021 118 8/27/2026
8.0.0-alpha-020 133 8/27/2026
8.0.0-alpha-019 462 8/26/2026
8.0.0-alpha-018 125 8/26/2026
8.0.0-alpha-004 144 3/7/2026
Loading failed

### Changed

- Improved error message when conditional compilation directives produce invalid syntax for some define combinations. [#563](https://github.com/fsprojects/fantomas/issues/563)

### Fixed

- Lambda in non-last record field is now parenthesized when record is collapsed to single line to avoid producing invalid code. [#3246](https://github.com/fsprojects/fantomas/issues/3246)