app/javascript/controllers/datatable_controller.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function connect has 70 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  connect() {
    // Initialize the table
    const table = $('#transactions').DataTable({
      processing: true,
      serverSide: true,
Severity: Major
Found in app/javascript/controllers/datatable_controller.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status