mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-15 17:18:05 +00:00
- Introduced a new CodeQL extension for C# in `.github/codeql/extensions/quantalib-csharp/codeql-pack.yml`. - Added SonarLint configuration in `.sonarlint/CSharp/SonarLint.xml` and `.sonarlint/csharp.ruleset` to suppress specific rules for high-performance indicators. - Removed outdated `.vscode/launch.json` configurations. - Updated `.vscode/tasks.json` to streamline build and test tasks, including renaming and consolidating tasks. - Modified `Directory.Build.props` to enhance SARIF output directory handling and integrate SonarLint rules. - Refactored various indicator classes to improve code clarity and maintainability, including updates to method parameters for consistency. - Added XML documentation comments to several classes and methods for better code understanding. - Improved numerical stability in calculations by replacing direct comparisons with `double.Epsilon` checks in multiple classes.
16 lines
877 B
XML
16 lines
877 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RuleSet Name="QuanTAlib SonarLint Rules" Description="Custom rule suppressions for QuanTAlib high-performance indicators" ToolsVersion="17.0">
|
|
<Rules AnalyzerId="SonarAnalyzer.CSharp" RuleNamespace="SonarAnalyzer.CSharp">
|
|
<!-- S3776: Cognitive Complexity - disabled for state machine patterns in indicators -->
|
|
<Rule Id="S3776" Action="None" />
|
|
<!-- S107: Methods should not have too many parameters - SIMD methods require multiple params -->
|
|
<Rule Id="S107" Action="None" />
|
|
<!-- S1144: Unused private types or members should be removed -->
|
|
<Rule Id="S1144" Action="None" />
|
|
<!-- S2245: Random should not be used for security purposes -->
|
|
<Rule Id="S2245" Action="None" />
|
|
<!-- S3604: Remove member initializer - null! is intentional -->
|
|
<Rule Id="S3604" Action="None" />
|
|
</Rules>
|
|
</RuleSet>
|