coding-conventions/.NET/stylecop.json
Sören Schmincke 8d497b8e0c
Initial ruleset (#1)
The initial ruleset is copied from the original repository in Azure DevOps. No configuration or rules have been altered only the text in the `readme` files is translated into english.

Reviewed-on: #1
Co-authored-by: Sören Schmincke <sschmincke@online.de>
Co-committed-by: Sören Schmincke <sschmincke@online.de>
2026-03-22 13:01:23 +01:00

35 lines
1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"fileNamingConvention": "metadata"
},
"indentation": {
"indentationSize": 4,
"tabSize": 4,
"useTabs": false
},
"layoutRules": {
"allowConsecutiveUsings": false,
"newlineAtEndOfFile": "require"
},
"maintainabilityRules": {
"topLevelTypes": [
"class",
"interface",
"struct",
"enum"
]
},
"namingRules": {
"includeInferredTupleElementNames": true
},
"orderingRules": {
"blankLinesBetweenUsingGroups": "omit",
"usingDirectivesPlacement": "outsideNamespace"
},
"readabilityRules": {
"allowBuiltInTypeAliases": false
}
}
}