mirror of
https://github.com/jcreek/aspnetcore5-with-postgres-identity-serilog-elasticsearch.git
synced 2026-07-13 02:43:45 +00:00
feat(*): Add base StyleCop analyzer
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
// ACTION REQUIRED: This file was automatically added to your project, but it
|
||||
// will not take effect until additional steps are taken to enable it. See the
|
||||
// following page for additional information:
|
||||
//
|
||||
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md
|
||||
"": null,
|
||||
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
|
||||
"settings": {
|
||||
"documentationRules": {
|
||||
"companyName": "MyCompanyName",
|
||||
"documentationCulture": "en-GB",
|
||||
"documentInterfaces": true,
|
||||
"documentExposedElements": true,
|
||||
"documentInternalElements": true,
|
||||
"documentPrivateElements": true,
|
||||
"documentPrivateFields": false,
|
||||
"headerDecoration": "-----------------------------------------------------------------------",
|
||||
"xmlHeader": true
|
||||
},
|
||||
"layoutRules": {
|
||||
"allowConsecutiveUsings": true,
|
||||
"newlineAtEndOfFile": "require"
|
||||
},
|
||||
"maintainabilityRules": {
|
||||
"topLevelTypes": [
|
||||
"class",
|
||||
"interface"
|
||||
]
|
||||
},
|
||||
"namingRules": {
|
||||
"allowCommonHungarianPrefixes": true,
|
||||
"includeInferredTupleElementNames": true,
|
||||
"tupleElementNameCasing": "PascalCase"
|
||||
},
|
||||
"orderingRules": {
|
||||
"elementOrder": [
|
||||
"kind",
|
||||
"constant",
|
||||
"accessibility",
|
||||
"static",
|
||||
"readonly"
|
||||
],
|
||||
"blankLinesBetweenUsingGroups": "omit",
|
||||
"usingDirectivesPlacement": "outsideNamespace",
|
||||
"systemUsingDirectivesFirst": true
|
||||
},
|
||||
"readabilityRules": {
|
||||
"allowBuiltInTypeAliases": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user