@@ -22,29 +22,29 @@ csharp_style_prefer_switch_expression = true
2222csharp_style_var_elsewhere = true
2323csharp_style_var_for_built_in_types = true
2424csharp_style_var_when_type_is_apparent = true
25- dotnet_diagnostic.IDE0003.severity = error # Remove this or Me qualification
26- dotnet_diagnostic.IDE0005.severity = error # Remove unnecessary using directives
27- dotnet_diagnostic.IDE0007.severity = error # Use var instead of explicit type
28- dotnet_diagnostic.IDE0011.severity = error # Add braces
29- dotnet_diagnostic.IDE0021.severity = error # Use expression body for constructors
30- dotnet_diagnostic.IDE0022.severity = error # Use expression body for methods
31- dotnet_diagnostic.IDE0023.severity = error # Use expression body for conversion operators
32- dotnet_diagnostic.IDE0024.severity = error # Use expression body for operators
33- dotnet_diagnostic.IDE0025.severity = error # Use expression body for properties
34- dotnet_diagnostic.IDE0026.severity = error # Use expression body for indexers
35- dotnet_diagnostic.IDE0027.severity = error # Use expression body for accessors
36- dotnet_diagnostic.IDE0049.severity = error # Use language keywords instead of framework type names for type references
37- dotnet_diagnostic.IDE0055.severity = error # Formatting rule
38- dotnet_diagnostic.IDE0066.severity = error # Use switch expressions
39- dotnet_diagnostic.IDE0073.severity = error # Require file header
40- dotnet_diagnostic.IDE0161.severity = error # Use file-scoped namespace
25+ dotnet_diagnostic.IDE0003.severity = warning # Remove this or Me qualification
26+ dotnet_diagnostic.IDE0005.severity = warning # Remove unnecessary using directives
27+ dotnet_diagnostic.IDE0007.severity = warning # Use var instead of explicit type
28+ dotnet_diagnostic.IDE0011.severity = warning # Add braces
29+ dotnet_diagnostic.IDE0021.severity = warning # Use expression body for constructors
30+ dotnet_diagnostic.IDE0022.severity = warning # Use expression body for methods
31+ dotnet_diagnostic.IDE0023.severity = warning # Use expression body for conversion operators
32+ dotnet_diagnostic.IDE0024.severity = warning # Use expression body for operators
33+ dotnet_diagnostic.IDE0025.severity = warning # Use expression body for properties
34+ dotnet_diagnostic.IDE0026.severity = warning # Use expression body for indexers
35+ dotnet_diagnostic.IDE0027.severity = warning # Use expression body for accessors
36+ dotnet_diagnostic.IDE0049.severity = warning # Use language keywords instead of framework type names for type references
37+ dotnet_diagnostic.IDE0055.severity = warning # Formatting rule
38+ dotnet_diagnostic.IDE0066.severity = warning # Use switch expressions
39+ dotnet_diagnostic.IDE0073.severity = warning # Require file header
40+ dotnet_diagnostic.IDE0161.severity = warning # Use file-scoped namespace
4141dotnet_sort_system_directives_first = true
4242dotnet_style_predefined_type_for_locals_parameters_members = true
4343dotnet_style_predefined_type_for_member_access = true
44- dotnet_style_qualification_for_event = false :error
45- dotnet_style_qualification_for_field = false :error
46- dotnet_style_qualification_for_method = false :error
47- dotnet_style_qualification_for_property = false :error
44+ dotnet_style_qualification_for_event = false :warning
45+ dotnet_style_qualification_for_field = false :warning
46+ dotnet_style_qualification_for_method = false :warning
47+ dotnet_style_qualification_for_property = false :warning
4848file_header_template = Copyright (c) Duende Software. All rights reserved.\nLicensed under the Apache License, Version 2 .0. See LICENSE in the project root for license information.
4949indent_size = 4
5050
0 commit comments