diff --git a/biome.json b/biome.json index 4da3470..08bfc3a 100644 --- a/biome.json +++ b/biome.json @@ -9,6 +9,9 @@ "recommended": true, "nursery": { "useSortedClasses": "info" + }, + "suspicious": { + "noExplicitAny": "warn" } } }, diff --git a/src/components/ReleaseNoteItem.astro b/src/components/ReleaseNoteItem.astro index e3dd007..89360a6 100644 --- a/src/components/ReleaseNoteItem.astro +++ b/src/components/ReleaseNoteItem.astro @@ -35,13 +35,12 @@ if (prevReleaseNote && !isTwilight) { const isLatest = currentReleaseIndex === 0 const listItems = {} as any -// biome-ignore lint/suspicious/noExplicitAny: const generateItems = (items: any, type: string) => { if (!items) return if (!listItems[type]) { listItems[type] = [] } - // biome-ignore lint/complexity/noForEach: + // biome-ignore lint/complexity/noForEach: We dont need to use a for loop here items.forEach((item: any) => { switch (type) { case 'feature': @@ -68,7 +67,7 @@ const generateItems = (items: any, type: string) => { listItems[type].push({ type: 'security', link: { - text: 'Security Advisory', + text: 'Various security fixes', href: item, }, }) diff --git a/tsconfig.json b/tsconfig.json index 9f6f943..5948f05 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ }, "types": ["@vitest/browser/providers/playwright"] }, - "suppressImplicitAnyIndexErrors": true, + "suppressImplicitAnyIndexErrors": true }