From 9afbbfcf1f78579702c06f9cb38dbf2d660f2759 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Thu, 18 Jun 2026 18:55:48 +0200 Subject: [PATCH] Fix lint issues --- src/features/manga/components/MangaToolbarMenu.tsx | 1 + src/features/migration/MangaMigration.ts | 1 + src/features/reader/settings/screens/GlobalReaderSettings.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/features/manga/components/MangaToolbarMenu.tsx b/src/features/manga/components/MangaToolbarMenu.tsx index 26d5bdf9..a2ca3b77 100644 --- a/src/features/manga/components/MangaToolbarMenu.tsx +++ b/src/features/manga/components/MangaToolbarMenu.tsx @@ -57,6 +57,7 @@ export const MangaToolbarMenu = ({ manga, onRefresh, refreshing }: IProps) => { AwaitableComponent.show(CategorySelect, { mangaId: manga.id }); }; + // oxlint-disable-next-line unicorn/consistent-function-scoping const saveDynamicColorTheme = () => { AwaitableComponent.show(ThemeCreationDialog, { mode: 'save_dynamic', diff --git a/src/features/migration/MangaMigration.ts b/src/features/migration/MangaMigration.ts index 0a90be5a..3f07e50d 100644 --- a/src/features/migration/MangaMigration.ts +++ b/src/features/migration/MangaMigration.ts @@ -69,6 +69,7 @@ export class MangaMigration { throw new Error('MangaMigration::migrate: missing chapters data'); } + // oxlint-disable-next-line unicorn/consistent-function-scoping const performMigrationActions = async (...actionCreators: [boolean | undefined, MigrateActionCreator][]) => { const migrationActions: TupleUnion = ['copy', 'cleanup']; diff --git a/src/features/reader/settings/screens/GlobalReaderSettings.tsx b/src/features/reader/settings/screens/GlobalReaderSettings.tsx index 28207efe..617c5179 100644 --- a/src/features/reader/settings/screens/GlobalReaderSettings.tsx +++ b/src/features/reader/settings/screens/GlobalReaderSettings.tsx @@ -30,6 +30,7 @@ export const GlobalReaderSettings = () => { request: { loading, error, refetch }, } = useDefaultReaderSettingsWithDefaultFlag(); + // oxlint-disable-next-line unicorn/consistent-function-scoping const updateSetting = ( key: Setting, value: IReaderSettings[Setting],