Skip to content

Commit f67ffd2

Browse files
committed
chore: run Biome lint/format on Typed
1 parent f2a9101 commit f67ffd2

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

src/Typed/assets/dist/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ default_1.values = {
4343
fadeOutClass: { type: String, default: 'typed-fade-out' },
4444
fadeOutDelay: { type: Number, default: 500 },
4545
loop: Boolean,
46-
loopCount: { type: Number, default: Infinity },
46+
loopCount: { type: Number, default: Number.POSITIVE_INFINITY },
4747
showCursor: { type: Boolean, default: true },
4848
cursorChar: { type: String, default: '.' },
4949
autoInsertCss: { type: Boolean, default: true },

src/Typed/assets/src/controller.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 { Controller } from '@hotwired/stimulus';
1311
import Typed from 'typed.js';
1412

@@ -25,7 +23,7 @@ export default class extends Controller {
2523
fadeOutClass: { type: String, default: 'typed-fade-out' },
2624
fadeOutDelay: { type: Number, default: 500 },
2725
loop: Boolean,
28-
loopCount: { type: Number, default: Infinity },
26+
loopCount: { type: Number, default: Number.POSITIVE_INFINITY },
2927
showCursor: { type: Boolean, default: true },
3028
cursorChar: { type: String, default: '.' },
3129
autoInsertCss: { type: Boolean, default: true },

src/Typed/assets/test/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, Controller } from '@hotwired/stimulus';
1311
import { getByTestId, waitFor } from '@testing-library/dom';
1412
import { clearDOM, mountDOM } from '@symfony/stimulus-testing';
@@ -33,7 +31,7 @@ const startStimulus = () => {
3331
};
3432

3533
describe('TypedController', () => {
36-
let container;
34+
let container: HTMLElement;
3735

3836
beforeEach(() => {
3937
container = mountDOM(`

src/Typed/composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"name": "symfony/ux-typed",
33
"type": "symfony-bundle",
44
"description": "Typed integration for Symfony",
5-
"keywords": [
6-
"symfony-ux"
7-
],
5+
"keywords": ["symfony-ux"],
86
"homepage": "https://symfony.com",
97
"license": "MIT",
108
"authors": [

0 commit comments

Comments
 (0)