aboutsummaryrefslogtreecommitdiff
path: root/js/src/util
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2023-03-29 20:49:30 +0300
committerGitHub <[email protected]>2023-03-29 13:49:30 -0400
commitae43f0c48bf7acede8a325b24197001fe2b2f416 (patch)
tree780ea3b362bff6b88eaed4f4387217264c3b3189 /js/src/util
parent3aabfc70c38db03e77229a49f4f8c7ed58169cf7 (diff)
downloadbootstrap-ae43f0c48bf7acede8a325b24197001fe2b2f416.tar.xz
bootstrap-ae43f0c48bf7acede8a325b24197001fe2b2f416.zip
Tweak and re-organize ESLint config (#38369)
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
Diffstat (limited to 'js/src/util')
-rw-r--r--js/src/util/backdrop.js2
-rw-r--r--js/src/util/component-functions.js2
-rw-r--r--js/src/util/config.js2
-rw-r--r--js/src/util/scrollbar.js2
-rw-r--r--js/src/util/swipe.js2
-rw-r--r--js/src/util/template-factory.js4
6 files changed, 7 insertions, 7 deletions
diff --git a/js/src/util/backdrop.js b/js/src/util/backdrop.js
index c552aef43..0d478e98d 100644
--- a/js/src/util/backdrop.js
+++ b/js/src/util/backdrop.js
@@ -6,8 +6,8 @@
*/
import EventHandler from '../dom/event-handler.js'
-import { execute, executeAfterTransition, getElement, reflow } from './index.js'
import Config from './config.js'
+import { execute, executeAfterTransition, getElement, reflow } from './index.js'
/**
* Constants
diff --git a/js/src/util/component-functions.js b/js/src/util/component-functions.js
index 5eb59b4af..4be828f83 100644
--- a/js/src/util/component-functions.js
+++ b/js/src/util/component-functions.js
@@ -6,8 +6,8 @@
*/
import EventHandler from '../dom/event-handler.js'
-import { isDisabled } from './index.js'
import SelectorEngine from '../dom/selector-engine.js'
+import { isDisabled } from './index.js'
const enableDismissTrigger = (component, method = 'hide') => {
const clickEvent = `click.dismiss${component.EVENT_KEY}`
diff --git a/js/src/util/config.js b/js/src/util/config.js
index 95221c1ef..a2b4bfba0 100644
--- a/js/src/util/config.js
+++ b/js/src/util/config.js
@@ -5,8 +5,8 @@
* --------------------------------------------------------------------------
*/
-import { isElement, toType } from './index.js'
import Manipulator from '../dom/manipulator.js'
+import { isElement, toType } from './index.js'
/**
* Class definition
diff --git a/js/src/util/scrollbar.js b/js/src/util/scrollbar.js
index 079c9108b..413f178da 100644
--- a/js/src/util/scrollbar.js
+++ b/js/src/util/scrollbar.js
@@ -5,8 +5,8 @@
* --------------------------------------------------------------------------
*/
-import SelectorEngine from '../dom/selector-engine.js'
import Manipulator from '../dom/manipulator.js'
+import SelectorEngine from '../dom/selector-engine.js'
import { isElement } from './index.js'
/**
diff --git a/js/src/util/swipe.js b/js/src/util/swipe.js
index 33ca90d8a..d2f708711 100644
--- a/js/src/util/swipe.js
+++ b/js/src/util/swipe.js
@@ -5,8 +5,8 @@
* --------------------------------------------------------------------------
*/
-import Config from './config.js'
import EventHandler from '../dom/event-handler.js'
+import Config from './config.js'
import { execute } from './index.js'
/**
diff --git a/js/src/util/template-factory.js b/js/src/util/template-factory.js
index bd827174b..f73589bcc 100644
--- a/js/src/util/template-factory.js
+++ b/js/src/util/template-factory.js
@@ -5,10 +5,10 @@
* --------------------------------------------------------------------------
*/
-import { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'
-import { execute, getElement, isElement } from './index.js'
import SelectorEngine from '../dom/selector-engine.js'
import Config from './config.js'
+import { DefaultAllowlist, sanitizeHtml } from './sanitizer.js'
+import { execute, getElement, isElement } from './index.js'
/**
* Constants