8000 chore: Apply natural import order for JS to synchronise the code base… · symfony/stimulus-bundle@59ff77f · GitHub
[go: up one dir, main page]

Skip to content

Commit 59ff77f

Browse files
committed
chore: Apply natural import order for JS to synchronise the code base with Biome and its configuration
1 parent 2e840a3 commit 59ff77f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

assets/src/loader.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
*/
1515
import { Application, type ControllerConstructor } from '@hotwired/stimulus';
1616
import {
17-
eagerControllers,
18-
lazyControllers,
19-
isApplicationDebug,
2017
type EagerControllersCollection,
2118
type LazyControllersCollection,
19+
eagerControllers,
20+
isApplicationDebug,
21+
lazyControllers,
2222
} from './controllers.js';
2323

2424
const controllerAttribute = 'data-controller';

assets/test/loader.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { Application, Controller } from '@hotwired/stimulus';
2+
import { waitFor } from '@testing-library/dom';
13
// load from dist because the source TypeScript file points directly to controllers.js,
24
// which does not actually exist in the source code
35
import { loadControllers } from '../dist/loader';
4-
import { Application, Controller } from '@hotwired/stimulus';
56
import type { EagerControllersCollection, LazyControllersCollection } from '../src/controllers';
6-
import { waitFor } from '@testing-library/dom';
77

88
let isController1Initialized = false;
99
let isController2Initialized = false;

0 commit comments

Comments
 (0)
0