Add initial ruleset
This commit is contained in:
parent
db488d94b3
commit
8d036fddd3
5 changed files with 3404 additions and 2 deletions
35
.NET/stylecop.json
Normal file
35
.NET/stylecop.json
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue