1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2026-02-20 03:09:20 +01:00

chore: migrate from ESLint/Prettier to Oxc

This commit is contained in:
2026-02-17 01:23:03 +01:00
parent 57026d652c
commit d0cde4538c
83 changed files with 2569 additions and 4342 deletions

View File

@@ -13,9 +13,7 @@ interface BlogPostPageProps {
}>
}
export const generateMetadata = async (
props: BlogPostPageProps,
): Promise<Metadata> => {
export const generateMetadata = async (props: BlogPostPageProps): Promise<Metadata> => {
const { slug } = await props.params
const blogPost = await getBlogPostBySlug(slug)
if (blogPost == null) {
@@ -37,9 +35,7 @@ export const generateMetadata = async (
}
}
export const generateStaticParams = async (): Promise<
Array<{ slug: string }>
> => {
export const generateStaticParams = async (): Promise<Array<{ slug: string }>> => {
const posts = await getBlogPosts()
return posts.map((post) => {
return {