voyager-admin/voyager

View on GitHub
resources/assets/js/directives/scroll-to.js

Summary

Maintainability
A
1 hr
Test Coverage

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

    mounted(el, binding) {
        el.addEventListener('click', (e) => {
            let content = document.getElementById('content');
            let element = document.getElementById('top');
            if (binding.value !== '') {
Severity: Minor
Found in resources/assets/js/directives/scroll-to.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status