@@ -19,12 +19,40 @@ insert_final_newline = true
1919
2020# StyleCop Diagnostic Rules =================
2121
22- # dotnet_analyzer_diagnostic.severity = none
23-
24- # Code must not contain trailing whitespace.
25- dotnet_diagnostic.SA1028.severity = none
22+ # Keywords must be spaced correctly.
23+ dotnet_diagnostic.SA1000.severity = none
24+ # Commas should be spaced correctly.
25+ dotnet_diagnostic.SA1001.severity = none
26+ # Semicolons should be spaced correctly.
27+ dotnet_diagnostic.SA1002.severity = none
28+ # Binary operators should be spaced correctly.
29+ dotnet_diagnostic.SA1003.severity = none
30+ # Documentation lines should not begin with a space.
31+ dotnet_diagnostic.SA1004.severity = none
32+ # Single-line comments should begin with a space.
33+ dotnet_diagnostic.SA1005.severity = none
34+ # Preprocessor directives should not be preceded by space.
35+ dotnet_diagnostic.SA1006.severity = none
2636# Use spaces instead of tabs for indentations.
2737dotnet_diagnostic.SA1027.severity = warning
38+ # Code must not contain trailing whitespace.
39+ dotnet_diagnostic.SA1028.severity = none
40+ # Using directives should be placed correctly (either top of file or inside namespace).
41+ dotnet_diagnostic.SA1200.severity = none
42+ # Static elements should appear before instance elements.
43+ dotnet_diagnostic.SA1201.severity = none
44+ # Elements must be ordered by access level (public, internal, protected, private).
45+ dotnet_diagnostic.SA1202.severity = none
46+ # Constants must appear before fields.
47+ dotnet_diagnostic.SA1203.severity = none
48+ # Static read-only fields must appear before static read/write fields.
49+ dotnet_diagnostic.SA1204.severity = none
50+ # Partial elements should be declared last.
51+ dotnet_diagnostic.SA1205.severity = none
52+ # Declared accessibility must be ordered (e.g., public before internal, etc.)
53+ dotnet_diagnostic.SA1206.severity = none
54+ # The "this." prefix should be used consistently in the code base.
55+ dotnet_diagnostic.SA1208.severity = none
2856# Class, method, and member names should start with an uppercase letter.
2957dotnet_diagnostic.SA1300.severity = warning
3058# Fields should use camelCase naming style.
@@ -39,14 +67,48 @@ dotnet_diagnostic.SA1309.severity = none
3967dotnet_diagnostic.SA1311.severity = warning
4068# Parameter names should begin with a lowercase letter.
4169dotnet_diagnostic.SA1312.severity = warning
70+ # Access modifier should always be specified explicitly.
71+ dotnet_diagnostic.SA1400.severity = none
72+ # Fields must be private.
73+ dotnet_diagnostic.SA1401.severity = none
74+ # File may only contain a single class, struct, or interface.
75+ dotnet_diagnostic.SA1402.severity = none
76+ # File should contain a single namespace declaration.
77+ dotnet_diagnostic.SA1403.severity = none
4278# Braces, indentation, and spacing should follow the standard pattern.
4379dotnet_diagnostic.SA1500.severity = warning
80+ # While, for, do, and if-else statements must use braces.
81+ dotnet_diagnostic.SA1502.severity = none
4482# All control blocks should use braces (e.g., if, for, while).
4583dotnet_diagnostic.SA1503.severity = warning
84+ # Single-line comment should be formatted correctly.
85+ dotnet_diagnostic.SA1511.severity = none
4686# All files must end with a single newline.
4787dotnet_diagnostic.SA1512.severity = none
4888# Blank lines should be properly used within methods.
4989dotnet_diagnostic.SA1515.severity = none
90+ # Elements must have XML documentation.
91+ dotnet_diagnostic.SA1600.severity = none
92+ # XML headers must contain summary tags.
93+ dotnet_diagnostic.SA1601.severity = none
94+ # All enumeration items must be documented.
95+ dotnet_diagnostic.SA1602.severity = none
96+ # All exception types must be documented in XML.
97+ dotnet_diagnostic.SA1612.severity = none
98+ # Properties must have appropriate XML documentation.
99+ dotnet_diagnostic.SA1613.severity = none
100+ # Field names must not match the names of methods.
101+ dotnet_diagnostic.SA1700.severity = none
102+ # Dispose objects according to IDisposable pattern.
103+ dotnet_diagnostic.SA2000.severity = none
104+ # Use correct behavior for bitwise or logical operators.
105+ dotnet_diagnostic.SA2010.severity = none
106+ # Async methods must have "Async" suffix in their names.
107+ dotnet_diagnostic.SA3000.severity = none
108+ # Reserved for custom or experimental rules.
109+ dotnet_diagnostic.SA9001.severity = none
110+ # Reserved for custom or experimental rules.
111+ dotnet_diagnostic.SA9002.severity = none
50112
51113
52114# Code Style Configuration =================
0 commit comments