Showing 2 of 7 total issues
Function buildAst
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
.reduce((acc, key) => {
const beforeValue = beforeConfig[key];
const afterValue = afterConfig[key];
const child = {
key,
Avoid too many return
statements within this function. Open
Open
return [...acc, { ...child, type: 'added' }];