SergeiKiss/frontend-project-11

View on GitHub
src/view.js

Summary

Maintainability
A
1 hr
Test Coverage

Function state has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const state = onChange(initialState, (path, curVal, prevVal) => {
    switch (path) {
      case 'form.urlState':
        if (curVal === 'valid') {
          input.classList.remove('is-invalid');
Severity: Minor
Found in src/view.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status