# AliasVault.Client specific EditorConfig

root = false

# Inherit from parent .editorconfig
[*]

# Enable globalization analyzer rules for localization
[*.{cs,razor}]
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = warning

# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = suggestion

# CA1305: Specify IFormatProvider  
dotnet_diagnostic.CA1305.severity = suggestion

# CA1307: Specify StringComparison for clarity
dotnet_diagnostic.CA1307.severity = suggestion

# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = suggestion

# CA1309: Use ordinal string comparison
dotnet_diagnostic.CA1309.severity = suggestion

# Blazor specific settings
[*.razor]
# Enable localization checks for Razor components
dotnet_diagnostic.CA1303.severity = warning