-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyleCop.json
executable file
·49 lines (49 loc) · 1.83 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
{
"$documentation": [
"Note: this file was added to your solution as a result of one or more projects using the ",
"Richtea.RecommendedPractices.CSharp NuGet package.",
"The automatic copying of these files can be configured with the RtStyleCopUpgrade",
"MSBuild property. Allowable values are:",
" silent - Silently upgrade this file to keep it aligned with the",
" NuGet package's version.",
" never - Never modify this file, and don't issue any warnings about",
" any discrepancies (use this if you are managing it yourself).",
" warn - Do not modify any existing StyleCop.json file, but create one if it doesn't",
" exist. If one exists and is different from the package version, issue a",
" build warning. NOTE: this is the default value if the property is not",
" specified.",
"Example:",
" <PropertyGroup>",
" <RtStyleCopUpgrade>always</RtStyleCopUpgrade>",
" </PropertyGroup>"
],
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
"settings": {
"documentationRules": {
"copyrightText": "Copyright (c) 2024 Rich Tebb.",
"companyName": "Rich Tebb",
"xmlHeader": false,
"documentExposedElements": true,
"documentInternalElements": false
},
"layoutRules": {
"newlineAtEndOfFile": "require"
},
"indentation": {
"indentationSize": 4,
"useTabs": false
},
"namingRules": {},
"orderingRules": {
"systemUsingDirectivesFirst": true,
"usingDirectivesPlacement": "outsideNamespace",
"elementOrder": [
"kind",
"constant",
"accessibility",
"static",
"readonly"
]
}
}
}