website/stylecop.json

43 lines
1.2 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"fileNamingConvention": "stylecop",
"documentExposedElements": false,
"documentInterfaces": false,
"documentInternalElements": false,
"documentPrivateElements": false,
"documentPrivateFields": false
},
"indentation": {
"indentationSize": 4,
"useTabs": false
},
"layoutRules": {
"allowConsecutiveUsings": true,
"newlineAtEndOfFile": "require",
"allowDoWhileOnClosingBrace": false
},
"maintainabilityRules": {
"topLevelTypes": [
"class",
"interface",
"struct",
"enum",
"delegate"
]
},
"namingRules": {
"includeInferredTupleElementNames": true,
"tupleElementNameCasing": "PascalCase"
},
"orderingRules": {
"blankLinesBetweenUsingGroups": "allow",
"systemUsingDirectivesFirst": true,
"usingDirectivesPlacement": "outsideNamespace"
},
"readabilityRules": {
"allowBuiltInTypeAliases": true
}
}
}