[Security Solution][Detections] Address cyclomatic complexity issue in RulesTables component #92160
Labels
Feature:Detection Rules
Security Solution rules and Detection Engine
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
technical debt
Improvement of the software architecture and operational architecture
RulesTables
component kept slowly growing in terms of LOC and needed refactoring.This PR #91925 has added a few changes so that the cyclomatic complexity limit has been exceed, and I had to temporarily disable the corresponding ESLint rule for the whole file.
While I'm feeling like the whole rules management table and its parent page component need to be fully refactored, this ticket aims to address this specific issue. Maybe there is an easier way to do just that without starting a full-blown refactoring (#92169).
The text was updated successfully, but these errors were encountered: