From 1da395de2e6759dfe9a7a199b03a39365e30f16c Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Mon, 3 Mar 2025 20:15:14 +0100 Subject: Build: Update ESLint to v9, migrate to flat config, lint dist files Dist files linting is limited to checking if they're proper ES5. Closes gh-2336 --- ui/effect.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ui/effect.js') diff --git a/ui/effect.js b/ui/effect.js index bbbb733c3..cb9ab8043 100644 --- a/ui/effect.js +++ b/ui/effect.js @@ -9,9 +9,7 @@ //>>label: Effects Core //>>group: Effects -/* eslint-disable max-len */ //>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects. -/* eslint-enable max-len */ //>>docs: https://api.jqueryui.com/category/effects-core/ //>>demos: https://jqueryui.com/effect/ @@ -320,7 +318,7 @@ if ( $.uiBackCompat === true ) { try { // eslint-disable-next-line no-unused-expressions active.id; - } catch ( e ) { + } catch ( _e ) { active = document.body; } -- cgit v1.2.3