S# EditorConfig for MediaBrowser.Model
# https://EditorConfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.cs]
indent_size = 4
indent_style = space
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false

# StyleCop Analyzer Rules - Disabled for project consistency
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1204.severity = none
dotnet_diagnostic.SA1202.severity = none
dotnet_diagnostic.SA1135.severity = none
dotnet_diagnostic.SA1600.severity = none
dotnet_diagnostic.SA1601.severity = none

# StyleCop Analyzer Rules - Reduced severity
dotnet_diagnostic.SA1413.severity = silent
dotnet_diagnostic.SA1515.severity = silent
dotnet_diagnostic.SA1512.severity = silent
dotnet_diagnostic.SA1518.severity = silent
dotnet_diagnostic.SA1505.severity = silent
dotnet_diagnostic.SA1108.severity = silent
dotnet_diagnostic.SA1009.severity = silent
dotnet_diagnostic.SA1128.severity = silent
dotnet_diagnostic.SA1648.severity = none

# StyleCop Analyzer Rules - Additional suppressions
dotnet_diagnostic.SA1200.severity = none
dotnet_diagnostic.SA1633.severity = none

# IDE Rules - Suppress non-critical suggestions
dotnet_diagnostic.IDE0008.severity = silent
dotnet_diagnostic.IDE0025.severity = none
dotnet_diagnostic.IDE0028.severity = silent
dotnet_diagnostic.IDE0045.severity = none
dotnet_diagnostic.IDE0046.severity = silent
dotnet_diagnostic.IDE0051.severity = warning
dotnet_diagnostic.IDE0052.severity = none
dotnet_diagnostic.IDE0055.severity = warning
dotnet_diagnostic.IDE0057.severity = silent
dotnet_diagnostic.IDE0058.severity = silent
dotnet_diagnostic.IDE0065.severity = none
dotnet_diagnostic.IDE0074.severity = none
dotnet_diagnostic.IDE0078.severity = silent
dotnet_diagnostic.IDE0090.severity = silent
dotnet_diagnostic.IDE0160.severity = silent
dotnet_diagnostic.IDE0200.severity = suggestion
dotnet_diagnostic.IDE0270.severity = none
dotnet_diagnostic.IDE0290.severity = silent
dotnet_diagnostic.IDE0300.severity = silent
dotnet_diagnostic.IDE0301.severity = silent
dotnet_diagnostic.IDE0305.severity = silent

# IDisposableAnalyzers Rules - Suppress for project consistency
dotnet_diagnostic.IDISP001.severity = none
dotnet_diagnostic.IDISP003.severity = none
dotnet_diagnostic.IDISP004.severity = none
dotnet_diagnostic.IDISP007.severity = none
dotnet_diagnostic.IDISP008.severity = none
dotnet_diagnostic.IDISP009.severity = none

# Code Analysis Rules - Keep important warnings
dotnet_diagnostic.CA1307.severity = warning
dotnet_diagnostic.CA1310.severity = warning

# C# Code Style - Using directive placement
csharp_using_directive_placement = outside_namespace:silent

# SA0001: XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = none
