Closed Berkmann18 closed 5 years ago
The rule catches $(function () { /* ... */ }) but when I change the function into an arrow function like $(() => { /* ... */ }) it doesn't behave the same way even tho it's technically the same code. Is it a bug or was that intended?
$(function () { /* ... */ })
$(() => { /* ... */ })
We fixed this in wikimedia/eslint-plugin-no-jquery/pull/83 if you'd like to port that fix over.
The rule catches
$(function () { /* ... */ })
but when I change the function into an arrow function like$(() => { /* ... */ })
it doesn't behave the same way even tho it's technically the same code. Is it a bug or was that intended?