chore: migrate from ESLint/Prettier to Oxc

This commit is contained in:
2026-02-17 01:26:49 +01:00
parent 57026d652c
commit d0cde4538c
83 changed files with 2567 additions and 4340 deletions
@@ -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 {