JakeTheFriendlyDog/frontend-project-lvl2

View on GitHub

Showing 2 of 2 total issues

Function iter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const iter = (first, second) => {
    const onlyUniqueKeys = union(keys(first), keys(second));

    return onlyUniqueKeys.flatMap(((key) => {
      if (!has(first, key)) {
Severity: Minor
Found in src/ast.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

          return {
            key, type: 'changed', beforeValue: first[key], afterValue: second[key],
          };
    Severity: Major
    Found in src/ast.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language