Eltele.Analyzers
1.0.0-alpha.2
dotnet add package Eltele.Analyzers --version 1.0.0-alpha.2
NuGet\Install-Package Eltele.Analyzers -Version 1.0.0-alpha.2
<PackageReference Include="Eltele.Analyzers" Version="1.0.0-alpha.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Eltele.Analyzers" Version="1.0.0-alpha.2" />
<PackageReference Include="Eltele.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Eltele.Analyzers --version 1.0.0-alpha.2
#r "nuget: Eltele.Analyzers, 1.0.0-alpha.2"
#:package Eltele.Analyzers@1.0.0-alpha.2
#addin nuget:?package=Eltele.Analyzers&version=1.0.0-alpha.2&prerelease
#tool nuget:?package=Eltele.Analyzers&version=1.0.0-alpha.2&prerelease
Eltele.Analyzers
Custom Roslyn analyzers that enforce security and correctness conventions across Eltele's .NET projects. The analyzers run at compile time and surface issues as build diagnostics, catching problems before they reach production.
The focus is on security-critical patterns that are easy to get wrong silently — such as missing authorization on API endpoints or using framework-mismatched attributes that compile but have no effect at runtime.
Installation
Add the analyzer package to your project:
<PackageReference Include="Eltele.Analyzers" PrivateAssets="all" />
All rules are enabled by default. Diagnostics will appear as errors or warnings during build depending on their default severity.
Configuration
Rule severities can be adjusted per-project or per-solution using an .editorconfig file:
[*.cs]
dotnet_diagnostic.ELTELE001.severity = warning
Or suppressed entirely via <NoWarn> in a .csproj:
<PropertyGroup>
<NoWarn>$(NoWarn);ELTELE001</NoWarn>
</PropertyGroup>
Building from source
dotnet build
dotnet test
Or via Nx from the monorepo root:
npx nx build dotnet-analyzers
npx nx test dotnet-analyzers
License
This project is licensed under the MIT License.
Learn more about Target Frameworks and .NET Standard.
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 |
|---|---|---|
| 1.0.0-alpha.2 | 67 | 2/12/2026 |
| 1.0.0-alpha.0 | 65 | 2/11/2026 |