ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details
This commit is contained in:
github-actions 2022-02-19 20:09:01 +00:00
parent 343b962a90
commit eddcf5b493

View file

@ -159,7 +159,7 @@ function dismissOnClickOutside( event ) {
const panel = document.getElementById( 'citizen-pref-panel' );
if ( panel.classList.contains( 'citizen-pref-panel--active' ) ) {
// eslint-disable-next-line no-use-before-define
togglePanel();
}
}
@ -174,7 +174,7 @@ function dismissOnEscape( event ) {
if ( event.key !== 'Escape' ) {
return;
}
// eslint-disable-next-line no-use-before-define
togglePanel();
}