eslint: Enforce no-use-before-define

Only one issue to fix now that we don't error on functions.

Change-Id: Idaee60507557b2a73deaf03d93829b9dade5c1f0
This commit is contained in:
Ed Sanders 2023-11-17 16:15:44 +00:00
parent 65d5156e75
commit 2aadb01365
4 changed files with 2 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View file

@ -18,7 +18,6 @@
"no-jquery/no-when": "error",
"no-jquery/no-extend": "error",
"compat/compat": "off",
"no-use-before-define": "off",
"jsdoc/no-undefined-types": "off"
}
}

View file

@ -4,6 +4,8 @@
import { requiresSummary } from '../ui/renderer';
const selectors = [];
/**
* Page Preview types as defined in Schema:Popups
* https://meta.wikimedia.org/wiki/Schema:Popups
@ -205,8 +207,6 @@ function getPagePreviewType( type, processedExtract ) {
}
}
const selectors = [];
const dwellDelay = {};
/**