Fix lint issues
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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<keyof MigrateAction> = ['copy', 'cleanup'];
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ export const GlobalReaderSettings = () => {
|
||||
request: { loading, error, refetch },
|
||||
} = useDefaultReaderSettingsWithDefaultFlag();
|
||||
|
||||
// oxlint-disable-next-line unicorn/consistent-function-scoping
|
||||
const updateSetting = <Setting extends keyof IReaderSettings>(
|
||||
key: Setting,
|
||||
value: IReaderSettings[Setting],
|
||||
|
||||
Reference in New Issue
Block a user