Skip to content

Instantly share code, notes, and snippets.

@anreton
Last active May 8, 2022 17:31
Show Gist options
  • Save anreton/02d8774845fd71334828c2a3a7fa57a7 to your computer and use it in GitHub Desktop.
Save anreton/02d8774845fd71334828c2a3a7fa57a7 to your computer and use it in GitHub Desktop.
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"companyName": "Anton Egorov (anreton@gmail.com)",
"copyrightText": "",
"documentationCulture": "en-US",
"documentExposedElements": true,
"documentInterfaces": true,
"documentInternalElements": true,
"documentPrivateElements": true,
"documentPrivateFields": true,
"excludeFromPunctuationCheck": [],
"fileNamingConvention": "stylecop",
"headerDecoration": "",
"variables": {},
"xmlHeader": true
},
"indentation": {
"indentationSize": 4,
"tabSize": 4,
"useTabs": true
},
"layoutRules": {
"allowConsecutiveUsings": true,
"allowDoWhileOnClosingBrace": false,
"newlineAtEndOfFile": "require"
},
"maintainabilityRules": {
"topLevelTypes": [ "class", "delegate", "enum", "interface", "struct" ]
},
"namingRules": {
"allowCommonHungarianPrefixes": true,
"allowedHungarianPrefixes": [],
"allowedNamespaceComponents": [],
"includeInferredTupleElementNames": true,
"tupleElementNameCasing": "PascalCase"
},
"orderingRules": {
"blankLinesBetweenUsingGroups": "require",
"elementOrder": [ "kind", "accessibility", "constant", "static", "readonly" ],
"systemUsingDirectivesFirst": true,
"usingDirectivesPlacement": "outsideNamespace"
},
"readabilityRules": {
"allowBuiltInTypeAliases": false
},
"spacingRules": {}
}
}
@anreton
Copy link
Author

anreton commented Jan 26, 2022

Analyzers:

  • StyleCop.Analyzers 1.2.0-beta.435

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment