Showing 1 of 3 total issues
Function getDiff
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getDiff = (obj1, obj2) => {
const keys = _.union(_.keys(obj1), _.keys(obj2)).sort();
const buildNode = (key, status, oldValue, newValue, children) => ({
key, status, oldValue, newValue, children,