@@ -138,23 +138,73 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
138138csharp_preserve_single_line_statements = true
139139csharp_preserve_single_line_blocks = true
140140
141- # IDE0090: Use 'new(...)'
142- dotnet_diagnostic.IDE0090.severity = silent
143141
144- # RCS1037: Remove trailing white-space.
145- dotnet_diagnostic.RCS1037.severity = error
142+ # IDE preferences
143+ dotnet_diagnostic.IDE0090.severity = silent # IDE0090: Use ' new(...)'
144+
145+ # Roslynator preferences
146+ dotnet_diagnostic.RCS1037.severity = error # RCS1037: Remove trailing white-space.
147+ dotnet_diagnostic.RCS1098.severity = none # RCS1098: Constant values should be placed on right side of comparisons.
148+
149+ dotnet_diagnostic.RCS1194.severity = none # RCS1194: Implement exception constructors.
150+ dotnet_diagnostic.RCS1229.severity = none # RCS1229: Use async/await when necessary.
151+ dotnet_diagnostic.RCS1233.severity = none # RCS1233: Use short-circuiting operator.
152+ dotnet_diagnostic.RCS1234.severity = none # RCS1234: Duplicate enum value.
153+
154+ # StyleCop preferences
155+ dotnet_diagnostic.SA0001.severity = none # SA0001: XML comment analysis is disabled
156+
157+ dotnet_diagnostic.SA1101.severity = none # SA1101: Prefix local calls with this
158+ dotnet_diagnostic.SA1108.severity = none # SA1108: Block statements should not contain embedded comments
159+ dotnet_diagnostic.SA1122.severity = none # SA1122: Use string.Empty for empty strings
160+ dotnet_diagnostic.SA1127.severity = none # SA1127: Generic type constraints should be on their own line
161+ dotnet_diagnostic.SA1128.severity = none # SA1128: Put constructor initializers on their own line
162+ dotnet_diagnostic.SA1132.severity = none # SA1132: Do not combine fields
163+ dotnet_diagnostic.SA1133.severity = none # SA1133: Do not combine attributes
164+
165+ dotnet_diagnostic.SA1200.severity = none # SA1200: Using directives should be placed correctly
166+ dotnet_diagnostic.SA1201.severity = none # SA1201: Elements should appear in the correct order
167+ dotnet_diagnostic.SA1202.severity = none # SA1202: Elements should be ordered by access
168+ dotnet_diagnostic.SA1203.severity = none # SA1203: Constants should appear before fields
169+
170+ dotnet_diagnostic.SA1306.severity = none # SA1306: Field names should begin with lower-case letter
171+ dotnet_diagnostic.SA1309.severity = none # SA1309: Field names should not begin with underscore
172+ dotnet_diagnostic.SA1310.severity = silent # SA1310: Field names should not contain underscore
173+ dotnet_diagnostic.SA1311.severity = none # SA1311: Static readonly fields should begin with upper-case letter
174+ dotnet_diagnostic.SA1312.severity = none # SA1312: Variable names should begin with lower-case letter
175+
176+ dotnet_diagnostic.SA1401.severity = silent # SA1401: Fields should be private
177+ dotnet_diagnostic.SA1402.severity = suggestion # SA1402: File may only contain a single type
178+
179+ dotnet_diagnostic.SA1503.severity = silent # SA1503: Braces should not be omitted
180+ dotnet_diagnostic.SA1516.severity = silent # SA1516: Elements should be separated by blank line
181+
182+ dotnet_diagnostic.SA1600.severity = none # SA1600: Elements should be documented
183+ dotnet_diagnostic.SA1601.severity = none # SA1601: Partial elements should be documented
184+ dotnet_diagnostic.SA1602.severity = none # SA1602: Enumeration items should be documented
185+ dotnet_diagnostic.SA1615.severity = none # SA1615: Element return value should be documented
186+ dotnet_diagnostic.SA1623.severity = none # SA1623: Property summary documentation should match accessors
187+ dotnet_diagnostic.SA1633.severity = none # SA1633: File should have header
188+ dotnet_diagnostic.SA1642.severity = none # SA1642: Constructor summary documentation should begin with standard text
189+ dotnet_diagnostic.SA1643.severity = none # SA1643: Destructor summary documentation should begin with standard text
190+
191+
192+ # To Fix:
193+ dotnet_diagnostic.SA1204.severity = none # SA1204: Static elements should appear before instance elements
194+ dotnet_diagnostic.SA1214.severity = none # SA1214: Readonly fields should appear before non-readonly fields
195+ dotnet_diagnostic.SA1304.severity = none # SA1304: Non-private readonly fields should begin with upper-case letter
196+ dotnet_diagnostic.SA1307.severity = none # SA1307: Accessible fields should begin with upper-case letter
197+ dotnet_diagnostic.SA1308.severity = suggestion # SA1308: Variable names should not be prefixed
198+ dotnet_diagnostic.SA1131.severity = none # SA1131: Use readable conditions
199+ dotnet_diagnostic.SA1405.severity = none # SA1405: Debug.Assert should provide message text
200+ dotnet_diagnostic.SA1501.severity = none # SA1501: Statement should not be on a single line
201+ dotnet_diagnostic.SA1502.severity = suggestion # SA1502: Element should not be on a single line
202+ dotnet_diagnostic.SA1513.severity = none # SA1513: Closing brace should be followed by blank line
203+ dotnet_diagnostic.SA1515.severity = none # SA1515: Single-line comment should be preceded by blank line
204+ dotnet_diagnostic.SA1611.severity = suggestion # SA1611: Element parameters should be documented
205+ dotnet_diagnostic.SA1649.severity = suggestion # SA1649: File name should match first type name
146206
147- # RCS1098: Constant values should be placed on right side of comparisons.
148- dotnet_diagnostic.RCS1098.severity = none
149207
150- # RCS1194: Implement exception constructors.
151- dotnet_diagnostic.RCS1194.severity = none
152208
153- # RCS1229: Use async/await when necessary.
154- dotnet_diagnostic.RCS1229.severity = none
155209
156- # RCS1233: Use short-circuiting operator.
157- dotnet_diagnostic.RCS1233.severity = none
158210
159- # RCS1234: Duplicate enum value.
160- dotnet_diagnostic.RCS1234.severity = none
0 commit comments