Skip to content

Commit 932a633

Browse files
committed
fix lint
1 parent 819349b commit 932a633

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"lint:eslint": "eslint .",
1919
"lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'",
2020
"lint:eslint:fix": "eslint . --fix",
21-
"lint:biome:fix": "biome check . --apply",
21+
"lint:biome:fix": "biome check . --write",
2222
"prepare": "npm run build",
2323
"build": "tsc",
2424
"build:docs": "typedoc",

Diff for: src/normalizeTorrentData.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { NormalizedTorrent, TorrentState } from '@ctrl/shared-torrent';
1+
import { type NormalizedTorrent, TorrentState } from '@ctrl/shared-torrent';
22

3-
import { Torrent } from './types.js';
3+
import type { Torrent } from './types.js';
44

55
export function normalizeTorrentData(id: string, torrent: Torrent): NormalizedTorrent {
66
const dateAdded = new Date(torrent.time_added * 1000).toISOString();

0 commit comments

Comments
 (0)