Showing 5 of 31 total issues
Avoid deeply nested control flow statements. Open
Open
if (idx === -1) {
model[property].push(val);
} else {
model[property].splice(idx, 1);
}
Avoid deeply nested control flow statements. Open
Open
if (model[property] === vnode.props.value) {
model[property] = null;
} else {
model[property] = vnode.props.value;
}
Avoid deeply nested control flow statements. Open
Open
for (const i in data) {
formData.append(i, data[i]);
}
Avoid deeply nested control flow statements. Open
Open
if (child) {
str += child;
}
Avoid too many return
statements within this function. Open
Open
return { map: null, ...file };