/* eslint unicorn/no-for-loop: 2 */
const arr = [];
for (let i = 0, j = arr.length; i < j; i += 1) {
const element = arr[i];
console.log(element);
}
no-for-loop
should report on this but it does not.
This slightly unusual pattern is used all over the place in eslint-plugin-react
.
This issue is a subtask of #250.
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