mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
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:
parent
65d5156e75
commit
2aadb01365
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map.json
vendored
BIN
resources/dist/index.js.map.json
vendored
Binary file not shown.
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = {};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue