fix: linter issues

This commit is contained in:
K1ngfish3r
2026-04-23 01:04:42 +05:00
parent 5e195b7f53
commit 2396df38bb
111 changed files with 2738 additions and 2160 deletions
+8 -6
View File
@@ -9,7 +9,7 @@ class Chrysanthemumgarden implements Plugin.PluginBase {
name = 'Chrysanthemum Garden';
icon = 'src/en/chrysanthemumgarden/icon.png';
site = 'https://chrysanthemumgarden.com';
version = '1.0.1';
version = '1.0.3';
filters: Filters | undefined = undefined;
imageRequestInit?: Plugin.ImageRequestInit | undefined = undefined;
@@ -18,10 +18,10 @@ class Chrysanthemumgarden implements Plugin.PluginBase {
async popularNovels(
pageNo: number,
{
showLatestNovels,
filters,
}: Plugin.PopularNovelsOptions<typeof this.filters>,
// {
// showLatestNovels,
// filters,
// }: Plugin.PopularNovelsOptions<typeof this.filters>,
): Promise<Plugin.NovelItem[]> {
const req = await fetchApi(
this.site + (pageNo === 1 ? '/books' : '/books/page/' + pageNo) + '/',
@@ -136,7 +136,9 @@ class Chrysanthemumgarden implements Plugin.PluginBase {
);
}
async getAllNovels() {}
async getAllNovels() {
// linter? what is the purpose of this
}
resolveUrl = (path: string, isNovel?: boolean) =>
this.site + (isNovel ? '/book/' : '/chapter/') + path;