SergeiKiss/frontend-project-11

View on GitHub

Showing 2 of 2 total issues

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

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

      const updateTracking = () => {
        setTimeout(() => {
          state.updateTracking.updateTrackingState = 'processing';
          const { feeds } = state.feedsBody;
          for (let i = 0; i < feeds.length; i += 1) {
    Severity: Minor
    Found in src/app.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language