Files
accounting-system/backend/CodeAnalysis.ruleset
Yaojia Wang f319c6e772 Code fixed
2026-02-13 10:31:54 +01:00

95 lines
3.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="FiscalFlow Rules" ToolsVersion="17.0">
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<!-- SA0001: XML comment analysis disabled -->
<Rule Id="SA0001" Action="None" />
<!-- SA1101: Prefix local calls with this - modern C# does not require this -->
<Rule Id="SA1101" Action="None" />
<!-- SA1200: Using directives should be placed correctly - global usings make this obsolete -->
<Rule Id="SA1200" Action="None" />
<!-- SA1413: Use trailing comma in multi-line initializers -->
<Rule Id="SA1413" Action="None" />
<!-- SA1503: Braces should not be omitted - allow single-line guard clauses -->
<Rule Id="SA1503" Action="None" />
<!-- SA1516: Elements should be separated by blank line - too strict for records/properties -->
<Rule Id="SA1516" Action="None" />
<!-- SA1633: File must have header - not needed for this project -->
<Rule Id="SA1633" Action="None" />
<!-- SA1600: Elements should be documented - internal code does not require XML docs -->
<Rule Id="SA1600" Action="None" />
<!-- SA1601: Partial elements should be documented -->
<Rule Id="SA1601" Action="None" />
<!-- SA1602: Enumeration items should be documented -->
<Rule Id="SA1602" Action="None" />
<!-- SA1309: Field names should not begin with underscore - conflicts with common .NET convention -->
<Rule Id="SA1309" Action="None" />
<!-- SA1623: Property summary documentation should match accessors -->
<Rule Id="SA1623" Action="None" />
<!-- SA1128: Put constructor initializers on their own line -->
<Rule Id="SA1128" Action="None" />
<!-- SA1649: File name should match first type name - allow flexibility -->
<Rule Id="SA1649" Action="None" />
<!-- SA1028: Code should not contain trailing whitespace -->
<Rule Id="SA1028" Action="None" />
<!-- SA1201: Element ordering - too strict for domain entities with factory methods -->
<Rule Id="SA1201" Action="None" />
<!-- SA1127: Generic type constraints should be on their own line -->
<Rule Id="SA1127" Action="None" />
<!-- SA1501: Statement should not be on a single line -->
<Rule Id="SA1501" Action="None" />
<!-- SA1402: File may only contain a single type - allow related types in one file -->
<Rule Id="SA1402" Action="None" />
<!-- SA1208: Using directive ordering -->
<Rule Id="SA1208" Action="None" />
<!-- SA1203: Constant fields should appear before non-constant fields -->
<Rule Id="SA1203" Action="None" />
<!-- SA1116: Parameters should begin on line after declaration -->
<Rule Id="SA1116" Action="None" />
<!-- SA1117: Parameters should be on same line or each on own line -->
<Rule Id="SA1117" Action="None" />
<!-- SA1118: Parameter spans multiple lines -->
<Rule Id="SA1118" Action="None" />
<!-- SA1122: Use string.Empty for empty strings -->
<Rule Id="SA1122" Action="None" />
<!-- SA1204: Static members should appear before non-static members -->
<Rule Id="SA1204" Action="None" />
<!-- SA1407: Arithmetic expressions should declare precedence -->
<Rule Id="SA1407" Action="None" />
<!-- SA1513: Closing brace should be followed by blank line -->
<Rule Id="SA1513" Action="None" />
<!-- SA1401: Field should be private - allow protected fields in base classes -->
<Rule Id="SA1401" Action="None" />
<!-- SA1210: Using directives should be ordered alphabetically -->
<Rule Id="SA1210" Action="None" />
</Rules>
</RuleSet>