csharp dotnet

csharp_dotnet

Configuration

Minimum Version
12
Package Manager
nuget
Test Framework
xunit
Linter
stylecop
Formatter
dotnet-format
Test Runner
xunit

Policy

Enable nullable reference types and implicit usings in every project.
Treat warnings as errors and include analyzers (StyleCop/FxCop).
Use dependency injection via minimal hosting builder and Options pattern.

Commands

lint dotnet format style --verify-no-changes
test dotnet test --no-build
format dotnet format
restore dotnet restore

Included in Rulesets

C# Standards
21 rules • 1 standard
View

Add This Standard

Sign in to add this standard to your workspace

Sign in with GitHub

Details

Language
csharp
Framework
dotnet
Used in
1 ruleset