FSharp.Analyzers.SDK
0.25.0
See the version list below for details.
dotnet add package FSharp.Analyzers.SDK --version 0.25.0
NuGet\Install-Package FSharp.Analyzers.SDK -Version 0.25.0
<PackageReference Include="FSharp.Analyzers.SDK" Version="0.25.0" />
paket add FSharp.Analyzers.SDK --version 0.25.0
#r "nuget: FSharp.Analyzers.SDK, 0.25.0"
// Install FSharp.Analyzers.SDK as a Cake Addin #addin nuget:?package=FSharp.Analyzers.SDK&version=0.25.0 // Install FSharp.Analyzers.SDK as a Cake Tool #tool nuget:?package=FSharp.Analyzers.SDK&version=0.25.0
Ionide FSharp.Analyzers.SDK
Library used for building custom analyzers for FSAC / F# editors.
F# analyzers are live, real-time, project based plugins that enables to diagnose source code and surface custom errors, warnings and code fixes into editor. Read more about analyzers here - https://medium.com/lambda-factory/introducing-f-analyzers-772487889429
How to build
- Install the .NET SDK version specified in
global.json
dotnet tool restore
- Open and build in your favorite IDE, or use
dotnet build
How to run sample
dotnet build -c Release
- Run the console application:
dotnet run --project src\FSharp.Analyzers.Cli\FSharp.Analyzers.Cli.fsproj -- --project ./samples/OptionAnalyzer/OptionAnalyzer.fsproj --analyzers-path ./samples/OptionAnalyzer/bin/Release --verbosity d
You can also set up a run configuration of FSharp.Analyzers.Cli in your favorite IDE using similar arguments. This also allows you to debug FSharp.Analyzers.Cli.
Using Analyzers
Checkout our Getting Started guide for analyzer users!
Writing Analyzers
Checkout our Getting Started guide for analyzer authors!
How to contribute
Imposter syndrome disclaimer: I want your help. No really, I do.
There might be a little voice inside that tells you you're not ready; that you need to do one more tutorial, or learn another framework, or write a few more blog posts before you can help me with this project.
I assure you, that's not the case.
This project has some clear Contribution Guidelines and expectations that you can read here.
The contribution guidelines outline the process that you'll need to follow to get a patch merged. By making expectations and process explicit, I hope it will make it easier for you to contribute.
And you don't just have to write code. You can help out by writing documentation, tests, or even by giving feedback about this work. (And yes, that includes giving feedback about the contribution guidelines.)
Thank you for contributing!
Contributing and copyright
The project is hosted on GitHub where you can report issues, fork the project and submit pull requests.
The library is available under MIT license, which allows modification and redistribution for both commercial and non-commercial purposes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- FSharp.Compiler.Service (= 43.8.200)
- FSharp.Core (= 8.0.200)
- McMaster.NETCore.Plugins (>= 1.4.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on FSharp.Analyzers.SDK:
Package | Downloads |
---|---|
NpgsqlFSharpAnalyzer
Advanced embedded static analysis and type-checking for SQL code from F# |
|
BinaryDefense.FSharp.Analyzers.Hashing
Looks for insecure hashing functions |
|
AzureTackleAnalyzer
AzureTackleAnalyzer |
|
FSharp.CosmosDb.Analyzer
An F# analyzer that will help you work with CosmosDB. |
|
FSharp.Analyzers.SDK.Testing
Test facilities for the FSharp.Analyzers.SDK |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.28.0 | 599 | 11/19/2024 |
0.27.0 | 2,140 | 8/17/2024 |
0.26.1 | 125 | 8/5/2024 |
0.26.0 | 3,218 | 5/15/2024 |
0.25.0 | 2,785 | 2/14/2024 |
0.24.0 | 1,211 | 1/30/2024 |
0.23.0 | 1,054 | 1/5/2024 |
0.22.0 | 395 | 12/19/2023 |
0.21.0 | 316 | 11/23/2023 |
0.20.2 | 242 | 11/15/2023 |
0.20.1 | 191 | 11/14/2023 |
0.20.0 | 174 | 11/13/2023 |
0.19.0 | 332 | 11/7/2023 |
0.18.0 | 245 | 11/3/2023 |
0.17.1 | 149 | 10/30/2023 |
0.17.0 | 150 | 10/26/2023 |
0.16.0 | 1,132 | 10/16/2023 |
0.15.0 | 222 | 10/10/2023 |
0.14.1 | 976 | 9/26/2023 |
0.14.0 | 237 | 9/21/2023 |
0.13.0 | 202 | 9/7/2023 |
0.13.0-beta007 | 131 | 9/7/2023 |
0.12.0 | 636 | 5/20/2023 |
0.11.0 | 24,117 | 1/12/2022 |
0.10.1 | 2,450 | 6/23/2021 |
0.10.0 | 410 | 6/22/2021 |
0.9.0 | 1,688 | 5/28/2021 |
0.8.0 | 16,410 | 2/11/2021 |
0.7.0 | 2,000 | 1/20/2021 |
0.6.0 | 2,217 | 12/20/2020 |
0.5.0 | 10,404 | 7/11/2020 |
0.4.1 | 4,389 | 4/10/2020 |
0.4.0 | 9,523 | 3/8/2020 |
0.3.1 | 1,131 | 2/28/2020 |
0.3.0 | 4,289 | 2/17/2020 |
0.2.0 | 1,263 | 12/24/2019 |
0.1.0 | 561 | 12/17/2019 |
0.0.10 | 567 | 12/16/2019 |
0.0.9 | 603 | 11/21/2019 |
0.0.8 | 1,278 | 10/1/2019 |
0.0.7 | 677 | 8/28/2019 |
0.0.6 | 961 | 7/1/2019 |
0.0.5 | 1,313 | 5/27/2019 |
0.0.4 | 1,386 | 3/29/2019 |
0.0.3 | 996 | 2/26/2019 |
0.0.2 | 809 | 2/8/2019 |
0.0.1 | 2,015 | 9/14/2018 |
### Changed
* * [Update to FCS and FSharp.Core 43.8.200](https://github.com/ionide/FSharp.Analyzers.SDK/pull/207)
* * [Fail when no analyzers are registered but the tool is invoked](https://github.com/ionide/FSharp.Analyzers.SDK/pull/202) (thanks @Smaug123!)
* * [Remove Coverlet.Collector package dependency](https://github.com/ionide/FSharp.Analyzers.SDK/pull/206) (thanks @dawedawe!)
* * [Update Ionide.ProjInfo to 0.63.0](https://github.com/ionide/FSharp.Analyzers.SDK/pull/205) (thanks @nojaf!)