-
Notifications
You must be signed in to change notification settings - Fork 3
/
stylecop.json
54 lines (46 loc) · 1.79 KB
/
stylecop.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// See https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/Configuration.md
// for a reference guide to the contents of this file.
{
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"spacingRules": {
},
"readabilityRules": {
"allowBuiltInTypeAliases": true
},
"orderingRules": {
"elementOrder": [ "kind", "accessibility", "constant", "static", "readonly" ],
"systemUsingDirectivesFirst": true,
"usingDirectivesPlacement": "outsideNamespace",
"blankLinesBetweenUsingGroups": "omit"
},
"namingRules": {
"allowCommonHungarianPrefixes": true,
"allowedHungarianPrefixes": ["db", "id", "x"],
"allowedNamespaceComponents": [],
"includeInferredTupleElementNames": false,
"tupleElementNameCasing": "PascalCase"
},
"maintainabilityRules": {
"topLevelTypes": [ "class", "interface", "struct", "enum", "delegate" ]
},
"layoutRules": {
"newlineAtEndOfFile": "require",
"allowConsecutiveUsings": true,
"allowDoWhileOnClosingBrace": true
},
"documentationRules": {
"companyName": "Tenacom",
"copyrightText": "Copyright (C) {companyName} and Contributors. Licensed under the MIT license.\r\nSee the LICENSE file in the project root for full license information.",
"xmlHeader": false,
"documentInterfaces": true,
"documentExposedElements": true,
"documentInternalElements": false,
"documentPrivateElements": false,
"documentPrivateFields": false,
"documentationCulture": "en-US",
"fileNamingConvention": "metadata",
"excludeFromPunctuationCheck": [ "exception", "seealso" ]
}
}
}