root = true

[*]
end_of_line  = lf
indent_style = space
indent_size  = 2
insert_final_newline     = true
trim_trailing_whitespace = true

[*.cs]
indent_style = tab
indent_size  = 4
# IDE0005: Using directive is unnecessary
dotnet_diagnostic.IDE0005.severity = suggestion
# IDE0047: Parentheses can be removed
dotnet_diagnostic.IDE0047.severity = none
# IDE0055: Fix formatting
dotnet_diagnostic.IDE0055.severity = none

[src/flecs-cs/**]
# Suppress compiler and analyer warnings in dependencies.
dotnet_analyzer_diagnostic.severity = none
dotnet_diagnostic.IDE0005.severity = none

[*.md]
# Allows placing double-space at end of lines to force linebreaks.
trim_trailing_whitespace = false