The rule seems to wrongly assume that below this
variables refer to the same object while in fact they are different and following the rule's advice would break the code:
const {a} = this;
a.map(function() {
return this.b; // error: Use destructured variables over properties
});
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too