rubyforgood/casa

View on GitHub
app/javascript/controllers/multiple_select_controller.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createMultiSelectWithOptionGroups has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  createMultiSelectWithOptionGroups () {
    const optionTemplate = this.optionTarget.innerHTML
    const itemTemplate = this.itemTarget.innerHTML

    /* eslint-disable no-new */
Severity: Minor
Found in app/javascript/controllers/multiple_select_controller.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status