aboutsummaryrefslogtreecommitdiff
path: root/jellyfin.ruleset
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-09-13 17:30:50 +0200
committerBond_009 <bond.009@outlook.com>2023-09-13 17:30:50 +0200
commit767a42fbdbbb2db30313d0935f322f162ebeced4 (patch)
tree91b187902579eac2fd25d731310f729e9803c148 /jellyfin.ruleset
parent3f19befc594670d72c2611f103e703633960e0aa (diff)
Minor LibraryMonitor improvements
* Enable nullable * Add a fast return to ReportFileSystemChanged when path should be ignored * Use Span overloads of Path.* functions where possible * IFileSystem: remove NormalizePath as Path.TrimEndingDirectorySeparator already checks if it's a root path
Diffstat (limited to 'jellyfin.ruleset')
-rw-r--r--jellyfin.ruleset2
1 files changed, 2 insertions, 0 deletions
diff --git a/jellyfin.ruleset b/jellyfin.ruleset
index 505d35481..4f0169588 100644
--- a/jellyfin.ruleset
+++ b/jellyfin.ruleset
@@ -52,6 +52,8 @@
<Rule Id="SA1204" Action="None" />
<!-- disable warning SA1309: Fields must not begin with an underscore -->
<Rule Id="SA1309" Action="None" />
+ <!-- disable warning SA1311: Static readonly fields should begin with upper-case letter -->
+ <Rule Id="SA1311" Action="None" />
<!-- disable warning SA1413: Use trailing comma in multi-line initializers -->
<Rule Id="SA1413" Action="None" />
<!-- disable warning SA1512: Single-line comments must not be followed by blank line -->