We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229c86a commit 7cf9f5eCopy full SHA for 7cf9f5e
packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js
@@ -352,7 +352,7 @@ export default {
352
const currentRefsInEffectCleanup = new Map();
353
354
// Is this reference inside a cleanup function for this effect node?
355
- // We can check by traversing scopes upwards from the reference, and checking
+ // We can check by traversing scopes upwards from the reference, and checking
356
// if the last "return () => " we encounter is located directly inside the effect.
357
function isInsideEffectCleanup(reference) {
358
let curScope = reference.from;
0 commit comments