by romellem · 2mo ago · 0 comments
- https://github.com/romellem/eslint-plugin-no-spread-in-reduc...
It catches code that looks like this:
items.reduce((acc, item) => {
return {
...acc,
[item.id]: item
};
});No comments yet.