Skip to main content
dotnet-fantomas package icon

dotnet-fantomas

This library aims at formatting F# source files based on a given configuration. Fantomas will ensure correct indentation and consistent spacing between elements in the source files. Some common use cases include (1) Reformatting a code base to conform a universal page width (2) Converting legacy code from verbose syntax to light syntax (3) Formatting auto-generated F# signatures.

Total Downloads
27.8K
27,765
Published
Sep 18, 2019
Latest stable version

Install

.NET CLI
dotnet add package dotnet-fantomas --version 3.0.0-beta-004
Package Manager Console
Install-Package dotnet-fantomas -Version 3.0.0-beta-004
PackageReference
<PackageReference Include="dotnet-fantomas" Version="3.0.0-beta-004" />

Frameworks

.NETFramework4.6.1 .NETCoreApp2.1

Dependencies

Fantomas
.NETFramework4.6.1
[3.0.0-beta-004, )
FSharp.Compiler.Service
.NETFramework4.6.1
[31.0.0, )
FSharp.Core
.NETFramework4.6.1
[4.7.0, )
Fantomas
.NETCoreApp2.1
[3.0.0-beta-004, )
[31.0.0, )
FSharp.Core
.NETCoreApp2.1
[4.7.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

NuGet marks this package as deprecated and points to fantomas as an alternative.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.