Skip to content

Commit bd4ee1d

Browse files
committed
chore: run Biome lint/format on Turbo
1 parent 10e2017 commit bd4ee1d

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

src/Turbo/assets/test/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
*/
99

1010
// polyfill for some odd error inside of Turbo in the test environment
11-
window.SubmitEvent = function () {};
11+
window.SubmitEvent = () => {};

src/Turbo/assets/test/turbo_controller.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
* file that was distributed with this source code.
88
*/
99

10-
'use strict';
11-
1210
import { Application } from '@hotwired/stimulus';
1311
import { getByTestId } from '@testing-library/dom';
1412
import { clearDOM, mountDOM } from '@symfony/stimulus-testing';
@@ -21,7 +19,7 @@ const startStimulus = () => {
2119

2220
/* eslint-disable no-undef */
2321
describe('TurboStreamController', () => {
24-
let container;
22+
let container: HTMLElement;
2523

2624
beforeEach(() => {
2725
container = mountDOM('<div data-testid="turbo-core" data-controller="symfony--ux-turbo--turbo"></div>');

src/Turbo/assets/test/turbo_stream_controller.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
* file that was distributed with this source code.
88
*/
99

10-
'use strict';
11-
1210
import { Application } from '@hotwired/stimulus';
1311
import { getByTestId } from '@testing-library/dom';
1412
import { clearDOM, mountDOM } from '@symfony/stimulus-testing';
@@ -22,7 +20,7 @@ const startStimulus = () => {
2220

2321
/* eslint-disable no-undef */
2422
describe('TurboStreamController', () => {
25-
let container;
23+
let container: HTMLElement;
2624

2725
beforeEach(() => {
2826
global.EventSource = vi.fn(() => ({

src/Turbo/composer.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22
"name": "symfony/ux-turbo",
33
"type": "symfony-bundle",
44
"description": "Hotwire Turbo integration for Symfony",
5-
"keywords": [
6-
"symfony-ux",
7-
"turbo",
8-
"hotwire",
9-
"javascript",
10-
"turbo-stream",
11-
"mercure"
12-
],
5+
"keywords": ["symfony-ux", "turbo", "hotwire", "javascript", "turbo-stream", "mercure"],
136
"homepage": "https://symfony.com",
147
"license": "MIT",
158
"authors": [

0 commit comments

Comments
 (0)