Files
QuanTAlib/.editorconfig
T
Miha Kralj d493bfd42f Refactor documentation for various filters and indicators to enhance clarity and consistency
- Updated Bessel, Bilateral, Blma, Butter, Conv, Ema, Kama, LSMA, MAMA, MGDI, SSF, USF, ATR, ADL, and ADOSC documentation to use bullet points for key concepts and features.
- Added a new Qodana configuration file for code analysis.
- Removed coverage configuration from Quantower.Tests.csproj to streamline testing setup.
2025-12-31 23:39:47 -08:00

46 lines
1.7 KiB
INI

# EditorConfig for QuanTAlib
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.cs]
# Suppress SonarQube S3776 - Cognitive Complexity
# High-performance SIMD code intentionally has complex control flow
dotnet_diagnostic.S3776.severity = none
# Suppress SonarQube S1244 - Floating point equality
# Intentional for exact struct comparison and zero checks in high-performance code
dotnet_diagnostic.S1244.severity = none
# Suppress ReSharper CheckNamespace - Namespace does not correspond to file location
# QuanTAlib uses flat namespace structure (QuanTAlib) regardless of folder hierarchy
resharper_check_namespace_highlighting = none
# Suppress ReSharper RedundantArgumentDefaultValue - Redundant argument with default value
# Explicit default values improve code readability for indicator parameters
resharper_redundant_argument_default_value_highlighting = none
# Suppress ReSharper InvalidXmlDocComment - Invalid XML documentation comment
# Documentation uses simplified format without full XML compliance
resharper_invalid_xml_doc_comment_highlighting = none
#### C# Coding Conventions ####
# "var" preferences
# Prefer explicit types for built-in types (e.g. int, double, string) - reduces noise in math-heavy code
csharp_style_var_for_built_in_types = false:silent
# Prefer var when the type is already mentioned on the right side (e.g. new List<int>())
csharp_style_var_when_type_is_apparent = true:suggestion
# Prefer explicit types in other cases to improve readability of math formulas
csharp_style_var_elsewhere = false:silent
# Shell scripts
[*.sh]
end_of_line = lf
indent_style = space
indent_size = 2