aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effect.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2025-03-03 20:15:14 +0100
committerGitHub <noreply@github.com>2025-03-03 20:15:14 +0100
commit1da395de2e6759dfe9a7a199b03a39365e30f16c (patch)
treeb597281911de6cde1682932ca9c242c0f8b5841d /ui/effect.js
parent302b488b9214e14830496578f7cf0aebcc33c132 (diff)
downloadjquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.tar.gz
jquery-ui-1da395de2e6759dfe9a7a199b03a39365e30f16c.zip
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
Diffstat (limited to 'ui/effect.js')
-rw-r--r--ui/effect.js4
1 files changed, 1 insertions, 3 deletions
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;
}