forked from Richasy/Bili.Uwp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylecop.json
50 lines (49 loc) · 1.47 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
{
// 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
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"companyName": "Richasy",
"copyrightText": "Copyright (c) {companyName}. All rights reserved.",
"xmlHeader": false,
"documentExposedElements": true,
"documentInterfaces": true,
"documentInternalElements": false,
"documentPrivateElements": false,
"documentPrivateFields": false
},
"indentation": {
"indentationSize": 4,
"useTabs": false
},
"readabilityRules": {
"allowBuiltInTypeAliases": false
},
"orderingRules": {
"elementOrder": [
"kind",
"accessibility",
"constant",
"static",
"readonly"
],
"usingDirectivesPlacement": "outsideNamespace",
"systemUsingDirectivesFirst": true
},
"maintainabilityRules": {
"topLevelTypes": [
"class",
"interface",
"struct"
]
},
"layoutRules": {
"allowConsecutiveUsings": true,
"newlineAtEndOfFile": "require"
}
}
}