Skip to content

Commit

Permalink
Configured Code Analysis rule sets.
Browse files Browse the repository at this point in the history
Signed-off-by: Robert F. Frasca <[email protected]>
  • Loading branch information
rffrasca committed Jan 29, 2024
1 parent f971799 commit 97f2b76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PDFKeeper.Core/PDFKeeper.Core.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.NetAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.CSharp.NetAnalyzers">
<Rule Id="CA1032" Action="Warning" />
<Rule Id="CA1508" Action="Warning" />
<Rule Id="CA1802" Action="Warning" />
<Rule Id="CA1812" Action="Warning" />
<Rule Id="CA1851" Action="Warning" />
<Rule Id="CA1867" Action="Warning" />
<Rule Id="CA2234" Action="Warning" />
<Rule Id="CA2352" Action="Warning" />
<Rule Id="CA2353" Action="Warning" />
Expand Down
2 changes: 2 additions & 0 deletions src/PDFKeeper.PDFViewer/PDFKeeper.PDFViewer.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
<IncludeAll Action="Warning" />
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp.NetAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.CSharp.NetAnalyzers">
<Rule Id="CA1032" Action="Warning" />
<Rule Id="CA1508" Action="Warning" />
<Rule Id="CA1802" Action="Warning" />
<Rule Id="CA1812" Action="Warning" />
<Rule Id="CA1851" Action="Warning" />
<Rule Id="CA1867" Action="Warning" />
<Rule Id="CA2234" Action="Warning" />
<Rule Id="CA2352" Action="Warning" />
<Rule Id="CA2353" Action="Warning" />
Expand Down
2 changes: 2 additions & 0 deletions src/PDFKeeper.Presentation/PDFKeeper.Presentation.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers">
<Rule Id="CA1032" Action="Warning" />
<Rule Id="CA1508" Action="Warning" />
<Rule Id="CA1802" Action="Warning" />
<Rule Id="CA1812" Action="Warning" />
<Rule Id="CA1851" Action="Warning" />
<Rule Id="CA1867" Action="Warning" />
<Rule Id="CA2234" Action="Warning" />
<Rule Id="CA2352" Action="Warning" />
<Rule Id="CA2353" Action="Warning" />
Expand Down

0 comments on commit 97f2b76

Please sign in to comment.