SAnatoliiS/project-lvl2-s237

View on GitHub

Showing 2 of 7 total issues

Function buildAst has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    .reduce((acc, key) => {
      const beforeValue = beforeConfig[key];
      const afterValue = afterConfig[key];
      const child = {
        key,
Severity: Minor
Found in src/genDiff.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

          return [...acc, { ...child, type: 'added' }];
    Severity: Major
    Found in src/genDiff.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language