@@ -37,6 +37,18 @@ dotnet_analyzer_diagnostic.category-Style.severity = error
3737
3838# Code style rules
3939
40+ # IDE0001: Simplify Names
41+ dotnet_diagnostic.IDE0001.severity = suggestion
42+
43+ # IDE0002: Simplify Member Access
44+ dotnet_diagnostic.IDE0002.severity = suggestion
45+
46+ # IDE0003: Remove qualification
47+ dotnet_diagnostic.IDE0003.severity = suggestion
48+
49+ # IDE0004: Remove Unnecessary Cast
50+ dotnet_diagnostic.IDE0004.severity = warning
51+
4052# Remove unnecessary using directives
4153dotnet_diagnostic.IDE0005.severity = warning
4254
@@ -46,6 +58,93 @@ dotnet_diagnostic.IDE0007.severity = none
4658# Use explicit type instead of 'var'
4759dotnet_diagnostic.IDE0008.severity = none
4860
61+ # IDE0010: Add missing cases
62+ dotnet_diagnostic.IDE0010.severity = warning
63+
64+ # IDE0011: Add braces
65+ dotnet_diagnostic.IDE0011.severity = suggestion
66+
67+ # IDE0017: Simplify object initialization
68+ dotnet_diagnostic.IDE0017.severity = suggestion
69+
70+ # IDE0018: Variable declaration can be inlined
71+ dotnet_diagnostic.IDE0018.severity = suggestion
72+
73+ # IDE0022: Use block body for method
74+ dotnet_diagnostic.IDE0022.severity = none
75+
76+ # IDE0027: Use expression body for accessor
77+ dotnet_diagnostic.IDE0027.severity = suggestion
78+
79+ # IDE0028: Simplify collection initialization
80+ dotnet_diagnostic.IDE0028.severity = suggestion
81+
82+ # IDE0032: Use auto property
83+ dotnet_diagnostic.IDE0032.severity = suggestion
84+
85+ # IDE0040: Add accessibility modifiers
86+ dotnet_diagnostic.IDE0040.severity = warning
87+
88+ # IDE0042: Deconstruct variable declaration
89+ dotnet_diagnostic.IDE0042.severity = suggestion
90+
91+ # IDE0044: Add readonly modifier
92+ dotnet_diagnostic.IDE0044.severity = warning
93+
94+ # IDE0045: Use conditional expression for assignment
95+ dotnet_diagnostic.IDE0045.severity = suggestion
96+
97+ # IDE0046: Convert to conditional expression
98+ dotnet_diagnostic.IDE0046.severity = suggestion
99+
100+ # IDE0047: Remove unnecessary parentheses
101+ dotnet_diagnostic.IDE0047.severity = suggestion
102+
103+ # IDE0049: Simplify Names
104+ dotnet_diagnostic.IDE0049.severity = suggestion
105+
106+ # IDE0034: Simplify 'default' expression
107+ dotnet_diagnostic.IDE0034.severity = suggestion
108+
109+ # IDE0055: Formatting rule
110+ dotnet_diagnostic.IDE0055.severity = warning
111+
112+ # IDE0057: Substring can be simplified
113+ dotnet_diagnostic.IDE0057.severity = suggestion
114+
115+ # IDE0058: Remove unnecessary expression value
116+ dotnet_diagnostic.IDE0058.severity = none
117+
118+ # IDE0059: Unnecessary assignment of a value
119+ dotnet_diagnostic.IDE0059.severity = suggestion
120+
121+ # IDE0060: Remove unused parameter
122+ dotnet_diagnostic.IDE0060.severity = warning
123+
124+ # IDE0063: Use simple 'using' statement
125+ dotnet_diagnostic.IDE0063.severity = suggestion
126+
127+ # IDE0071: Simplify interpolation
128+ dotnet_diagnostic.IDE0071.severity = suggestion
129+
130+ # IDE0074: Use compound assignment
131+ dotnet_diagnostic.IDE0074.severity = suggestion
132+
133+ # IDE0078: Use pattern matching
134+ dotnet_diagnostic.IDE0078.severity = suggestion
135+
136+ # IDE0083: Use pattern matching
137+ dotnet_diagnostic.IDE0083.severity = suggestion
138+
139+ # IDE0090: Use 'new(...)'
140+ dotnet_diagnostic.IDE0090.severity = suggestion
141+
142+ # IDE1005: Delegate invocation can be simplified.
143+ dotnet_diagnostic.IDE1005.severity = suggestion
144+
145+ # IDE0160: Convert to block scoped namespace
146+ dotnet_diagnostic.IDE0160.severity = none
147+
49148dotnet_code_quality.ca1711.allowed_suffixes = Flag|Flags
50149
51150# Do not declare static members on generic types
0 commit comments