From e3c71036e2950cd9b6f8d18648a327f01aad8a1e Mon Sep 17 00:00:00 2001 From: zyrouge Date: Thu, 4 Apr 2024 20:38:15 +0530 Subject: [PATCH] chore: lint --- src/pages/articles/rss.xml.ts | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/articles/rss.xml.ts b/src/pages/articles/rss.xml.ts index 2392403..e7900ea 100644 --- a/src/pages/articles/rss.xml.ts +++ b/src/pages/articles/rss.xml.ts @@ -5,7 +5,7 @@ import { Metadata } from "~/core/metadata"; import { Routes } from "~/core/routes"; import { baseUrl } from "~/core/urls"; -export const get = async (_: APIContext) => { +export const GET = async (_: APIContext) => { const articles = await Articles.fetchAll(); return rss({ title: Metadata.constructTitle("Articles"), diff --git a/tsconfig.json b/tsconfig.json index 81aecf8..7517fee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,6 @@ "noUncheckedIndexedAccess": true, "noUnusedParameters": true, "strictNullChecks": true - } + }, + "include": ["src"] }