rauversion/rauversion-ror

View on GitHub
app/javascript/controllers/select_controller.jsx

Summary

Maintainability
A
1 hr
Test Coverage

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

  connect() {
    const wrapper = this.element;
    const selectWrapper = wrapper.querySelector(".select-wrapper")
    const root = createRoot(selectWrapper);
    const selectElement = this.element.querySelector("select")
Severity: Minor
Found in app/javascript/controllers/select_controller.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status