From 1df1a1182a002d0a31a6f9f6c445a5586e98bb55 Mon Sep 17 00:00:00 2001 From: Vladimir Kharlampidi Date: Thu, 2 Jan 2025 14:15:53 -0500 Subject: [PATCH] chore: lint --- package.json | 2 +- src/core/core.mjs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 17a1ea36c..bc87ac33d 100644 --- a/package.json +++ b/package.json @@ -105,4 +105,4 @@ "vite": "^4.5.0", "vue": "^3.3.6" } -} +} \ No newline at end of file diff --git a/src/core/core.mjs b/src/core/core.mjs index 1ba2131e3..0246dcf95 100644 --- a/src/core/core.mjs +++ b/src/core/core.mjs @@ -254,9 +254,7 @@ class Swiper { getSlideIndexByData(index) { return this.getSlideIndex( - this.slides.find( - (slideEl) => slideEl.getAttribute('data-swiper-slide-index') * 1 === index - ), + this.slides.find((slideEl) => slideEl.getAttribute('data-swiper-slide-index') * 1 === index), ); }