-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zou.default.globalconfig
67 lines (50 loc) · 2.31 KB
/
.zou.default.globalconfig
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
55
56
57
58
59
60
61
62
63
64
65
66
67
# To import following rules:
#
# - for all bundle projects, modify 'bundle/Directory.Build.Props'
#
# <Import Project="zou\Directory.Build.Default.props" />
# <Import Project="zou\GlobalAnalyserConfig.Default.props" Condition="'$(ZouAnalyzerConfigFile)' == ''" />
#
# - for all module projects, modify 'module/Directory.Build.Props'
#
# <Import Project="$([MSBuild]::GetPathOfFileAbove('$(MSBuildThisFile)', '$(MSBuildThisFileDirectory)../'))" />
# <Import Project="$(ZouDir)GlobalAnalyserConfig.Default.props" Condition="'$(ZouAnalyzerConfigFile)' == ''" />
#
# See also:
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files#global-analyzerconfig
# Configure precedence - https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files#precedence
# can be overriden in bundle -> set global_level = 100 (default)
# can be overriden in module -> set global_level = 200
global_level = 0
# see https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files#format
is_global = true
# IDE0007: Use implicit type
dotnet_diagnostic.IDE0007.severity = suggestion
# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity = none
# IDE0011: Add braces
dotnet_diagnostic.IDE0011.severity = suggestion
# IDE0021: Use expression body for constructor
dotnet_diagnostic.IDE0021.severity = suggestion
# IDE0022: Use block body for method
dotnet_diagnostic.IDE0022.severity = suggestion
# IDE0039: Use local function
dotnet_diagnostic.IDE0039.severity = suggestion
# IDE0045: Convert to conditional expression
dotnet_diagnostic.IDE0045.severity = suggestion
# IDE0046: Convert to conditional expression
dotnet_diagnostic.IDE0046.severity = suggestion
# IDE0051: Remove unused private members
dotnet_diagnostic.IDE0051.severity = suggestion
# IDE0055: Fix formatting
dotnet_diagnostic.IDE0055.severity = none
# IDE0060: Remove unused parameter
dotnet_diagnostic.IDE0060.severity = suggestion
# IDE0061: Use block body for local function
dotnet_diagnostic.IDE0061.severity = none
# IDE0130: Namespace does not match folder structure
dotnet_diagnostic.IDE0130.severity = none
# IDE0200: Remove unnecessary lambda expression
dotnet_diagnostic.IDE0200.severity = suggestion
# IDE0305: Simplify collection initialization
#dotnet_diagnostic.IDE0305.severity = suggestion