update eslint config

This commit is contained in:
jake committed 2022-06-19 17:31:04 -04:00
1 parent c3253d85dd
commit fdae751b58
7 files changed
+167 -615

No files matched your search

+2 -6
View File
@@ -1,6 +1,6 @@
import { InView } from "react-intersection-observer";
import { NextSeo, ArticleJsonLd } from "next-seo";
import { MDXRemote } from "next-mdx-remote";
import { MDXRemote, MDXRemoteProps } from "next-mdx-remote";
import Content from "../../components/Content";
import NoteMeta from "../../components/NoteMeta";
import Comments from "../../components/Comments";
@@ -53,11 +53,7 @@ const Note = ({ frontMatter, source }: NoteWithSource) => {
<NoteMeta {...frontMatter} />
<Content>
<MDXRemote
{...source}
// @ts-ignore
components={{ ...mdxComponents }}
/>
<MDXRemote {...source} components={{ ...(mdxComponents as MDXRemoteProps["components"]) }} />
</Content>
{!frontMatter.noComments && (