Header menu logo G-Research F# Analyzers

G-Research FSharp Analyzers

A curated set of Ionide SDK analyzers for F#. These are based on real-world production scenarios encountered within G-Research.


Install the fsharp-analyzers local dotnet tool.

No value returned by any evaluator

Add the FSharp.Analyzers.Build:

<PackageReference Include="FSharp.Analyzers.Build" Version="0.2.0">

And the G-Research.FSharp.Analyzers:

<PackageReference Include="G-Research.FSharp.Analyzers" Version="0.9.0">

Include the following MSBuild property:

    <FSharpAnalyzersOtherFlags>--analyzers-path &quot;$(PkgG-Research_FSharp_Analyzers)/analyzers/dotnet/fs&quot;</FSharpAnalyzersOtherFlags>

And invoke:

dotnet msbuild /t:AnalyzeFSharpProject

from the command line.

Further reading

To learn more about Ionide F# analyzers, you can read the official Getting started guide.

G-Research Open Source logo
Multiple items
namespace FSharp

namespace Microsoft.FSharp
namespace FSharp.Analyzers
namespace FSharp.Analyzers.SDK
module Utils from FSharp.Analyzers.SDK
val currentFSharpAnalyzersSDKVersion: System.Version
val v: System.Version
property System.Version.Major: int with get
<summary>Gets the value of the major component of the version number for the current <see cref="T:System.Version" /> object.</summary>
<returns>The major version number.</returns>
val typeof<'T> : System.Type
namespace GR
namespace GR.FSharp
namespace GR.FSharp.Analyzers
module TypeAnnotateStringFunctionAnalyzer from GR.FSharp.Analyzers
type StringApplicationResult = | NoTypeArgument | TypeArgument | Unsure of string

Type something to start searching.