style: replace unicorn/no-for-loop w/ typescript/prefer-for-of (#20798)

* style: replace unicorn/no-for-loop w/ typescript/prefer-for-of

* style: fix typescript-eslint/prefer-for-of

* style: fix typescript/no-inferrable-types

* style: fix typescript-eslint/consistent-generic-constructors

* style: typescript-eslint/consistent-type-assertions

* style: fix typescript-eslint/array-type

* fix: revert .entries() in d96ca62d3d80806b0475a54e749decfc07b24701
This commit is contained in:
Tony
2026-01-02 09:42:24 +08:00
committed by GitHub
parent 1352d30978
commit b84bb92a8a
214 changed files with 575 additions and 566 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ const renderDescription = ({ images, description }: { images?: DescriptionImage[
export const handler = async (ctx: Context): Promise<Data> => {
const limit: number = Number.parseInt(ctx.req.query('limit') ?? '50', 10);
const baseUrl: string = 'https://augmentcode.com';
const baseUrl = 'https://augmentcode.com';
const targetUrl: string = new URL('blog', baseUrl).href;
const response = await ofetch(targetUrl);