Closed brendo closed 5 years ago
It can be replaced (in most cases) with Object.assign or the spread operator
Object.assign
It would be more helpful if this rule only flagged usages where the first parameter is not a boolean. Object.assign and object spread only do shallow clone.
It can be replaced (in most cases) with
Object.assign
or the spread operator