anthonymidili/Bullhorn

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

Summary

Maintainability
A
1 hr
Test Coverage

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

  connect() {
    function debounce(func, wait = 10, immediate = true) {
      let timeout
      return function() {
        let context = this, args = arguments
Severity: Minor
Found in app/javascript/controllers/hide_on_scroll_controller.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status