G-Research.FSharp.Analyzers
0.1.6
See the version list below for details.
dotnet add package G-Research.FSharp.Analyzers --version 0.1.6
NuGet\Install-Package G-Research.FSharp.Analyzers -Version 0.1.6
<PackageReference Include="G-Research.FSharp.Analyzers" Version="0.1.6"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add G-Research.FSharp.Analyzers --version 0.1.6
#r "nuget: G-Research.FSharp.Analyzers, 0.1.6"
// Install G-Research.FSharp.Analyzers as a Cake Addin #addin nuget:?package=G-Research.FSharp.Analyzers&version=0.1.6 // Install G-Research.FSharp.Analyzers as a Cake Tool #tool nuget:?package=G-Research.FSharp.Analyzers&version=0.1.6
G-Research Fsharp Analyzers
A curated set of Ionide SDK analyzers for F#.
Usage
To run any analyzer you need to find a way to download the NuGet package locally. At the time of writing there is no standard way to do this, one way this can be done is by using the <PackageDownload>
<Project Sdk="Microsoft.Build.NoTargets/1.0.80">
<PropertyGroup>
<IsPackable>false</IsPackable>
<RestorePackagesPath>./.analyzerpackages/</RestorePackagesPath>
<TargetFramework>net6.0</TargetFramework>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<AutomaticallyUseReferenceAssemblyPackages>false</AutomaticallyUseReferenceAssemblyPackages>
</PropertyGroup>
<ItemGroup>
<PackageDownload Include="G-Research.FSharp.Analyzers" Version="[0.1.4]" />
</ItemGroup>
</Project>
Running dotnet restore
will download this locally to ./.analyzerpackages
.
Then you need to install the fsharp-analyzers tool.
Next you can run dotnet fsharp-analyzers --project YourProject.fsproj --analyzers-path ./.analyzerpackages/g-research.fsharp.analyzers/0.1.4/lib/net6.0
Please checkout the documentation over at FSharp.Analyzers.SDK.
Contributing
We welcome new contributors! We'll happily receive PRs for bug fixes or small changes. If you're contemplating something larger please get in touch first by opening a GitHub Issue describing the problem and how you propose to solve it.
License
Copyright © 2023 G-Research
Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.12.0 | 57 | 11/20/2024 |
0.11.0 | 18,630 | 8/19/2024 |
0.10.0 | 2,177 | 5/17/2024 |
0.9.3 | 13,995 | 2/16/2024 |
0.9.2 | 211 | 2/16/2024 |
0.9.1 | 213 | 2/15/2024 |
0.9.0 | 298 | 2/15/2024 |
0.8.0 | 9,199 | 1/30/2024 |
0.7.0 | 3,327 | 1/10/2024 |
0.6.0 | 741 | 12/20/2023 |
0.5.1 | 496 | 12/6/2023 |
0.5.0 | 243 | 12/4/2023 |
0.4.0 | 2,897 | 11/23/2023 |
0.3.1 | 423 | 11/15/2023 |
0.3.0 | 165 | 11/14/2023 |
0.2.0 | 135 | 11/10/2023 |
0.1.6 | 738 | 10/26/2023 |
0.1.5 | 344 | 10/18/2023 |
0.1.4 | 227 | 10/16/2023 |
0.1.3 | 243 | 10/12/2023 |
0.1.2 | 160 | 10/10/2023 |
0.1.1 | 181 | 10/10/2023 |
0.1.0 | 230 | 10/6/2023 |
### Changed
* * Add more MSBuild properties to align with Roslyn. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)
* * Update FSharp.Analyzers.SDK to `0.17.0`. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)