Showing 2 of 14 total issues
Function makeJSONRender
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const makeJSONRender = (ast) => {
const nodeList = iter(ast);
const addedList = nodeList
.filter(value => value.type === 'added')
.reduce((acc, data) => {
Avoid too many return
statements within this function. Open
Open
return acc.concat({ type: 'unmodified', name: key, value: secondData[key] });