Showing 2 of 2 total issues
Function iter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const iter = (first, second) => {
const onlyUniqueKeys = union(keys(first), keys(second));
return onlyUniqueKeys.flatMap(((key) => {
if (!has(first, key)) {
Avoid too many return
statements within this function. Open
Open
return {
key, type: 'changed', beforeValue: first[key], afterValue: second[key],
};