Merge "eslint: Enforce no-use-before-define"

This commit is contained in:
jenkins-bot 2023-11-29 17:38:23 +00:00 committed by Gerrit Code Review
commit 6d642c38bd
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-when": "error",
"no-jquery/no-extend": "error", "no-jquery/no-extend": "error",
"compat/compat": "off", "compat/compat": "off",
"no-use-before-define": "off",
"jsdoc/no-undefined-types": "off" "jsdoc/no-undefined-types": "off"
} }
} }

View file

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