chore: Apply linting rules and add git hok (#611)

Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
This commit is contained in:
lostb1t
2025-03-16 18:01:12 +01:00
committed by GitHub
parent 2688e1b981
commit 92513e234f
268 changed files with 9197 additions and 8394 deletions

View File

@@ -1,12 +1,12 @@
import { itemRouter } from "@/components/common/TouchableItemRouter";
import {
import { DownloadedItem } from "@/providers/DownloadProvider";
import type {
BaseItemDto,
MediaSourceInfo,
} from "@jellyfin/sdk/lib/generated-client";
import axios from "axios";
import { writeToLog } from "./log";
import { DownloadedItem } from "@/providers/DownloadProvider";
import { MMKV } from "react-native-mmkv";
import { writeToLog } from "./log";
interface IJobInput {
deviceId?: string | null;
@@ -63,7 +63,7 @@ export async function getAllJobsByDeviceId({
console.error(
statusResponse.status,
statusResponse.data,
statusResponse.statusText
statusResponse.statusText,
);
throw new Error("Failed to fetch job status");
}
@@ -172,7 +172,7 @@ export async function getStatistics({
export function saveDownloadItemInfoToDiskTmp(
item: BaseItemDto,
mediaSource: MediaSourceInfo,
url: string
url: string,
): boolean {
try {
const storage = new MMKV();