diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-10-11 23:37:29 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-10-11 23:37:29 +0200 |
| commit | f6af28cf96624f0f3ec6073fcee099623491c0b4 (patch) | |
| tree | c55ac2a93d529e4c08b6e792282c3b67d612fa3d /jellyfin.ruleset | |
| parent | a274f4a68814299036fd91e60b47880f5a51a9c6 (diff) | |
Fix some things that slipped through the cracks
Diffstat (limited to 'jellyfin.ruleset')
| -rw-r--r-- | jellyfin.ruleset | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset index 5ac5f49239..8144db93d5 100644 --- a/jellyfin.ruleset +++ b/jellyfin.ruleset @@ -5,8 +5,16 @@ <Rule Id="SA1000" Action="Error" /> <!-- error on SA1001: Commas should not be preceded by whitespace --> <Rule Id="SA1001" Action="Error" /> + <!-- error on SA1106: Code should not contain empty statements --> + <Rule Id="SA1106" Action="Error" /> + <!-- error on SA1107: Code should not contain multiple statements on one line --> + <Rule Id="SA1107" Action="Error" /> + <!-- error on SA1028: Code should not contain trailing whitespace --> + <Rule Id="SA1028" Action="Error" /> <!-- error on SA1117: The parameters should all be placed on the same line or each parameter should be placed on its own line --> <Rule Id="SA1117" Action="Error" /> + <!-- error on SA1137: Elements should have the same indentation --> + <Rule Id="SA1137" Action="Error" /> <!-- error on SA1142: Refer to tuple fields by name --> <Rule Id="SA1142" Action="Error" /> <!-- error on SA1210: Using directives should be ordered alphabetically by the namespaces --> @@ -69,6 +77,8 @@ <Rule Id="CA1307" Action="Error" /> <!-- error on CA1309: Use ordinal StringComparison --> <Rule Id="CA1309" Action="Error" /> + <!-- error on CA1310: Specify StringComparison for correctness --> + <Rule Id="CA1310" Action="Error" /> <!-- error on CA1725: Parameter names should match base declaration --> <Rule Id="CA1725" Action="Error" /> <!-- error on CA1725: Call async methods when in an async method --> |
