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>
This commit is contained in:
Sören Schmincke 2026-03-22 13:01:23 +01:00 committed by code.uselessbits.org Instance
commit 8d497b8e0c
Signed by: code.uselessbits.org Instance
SSH key fingerprint: SHA256:l+mT+fqljPcpFACr5ZrHAj5KWhIjUoD9YjofWI82L90
5 changed files with 3404 additions and 2 deletions

35
.NET/stylecop.json Normal file
View file

@ -0,0 +1,35 @@
{
"$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
}
}
}