Skip to content

Commit 45342f5

Browse files
committed
* added missing dev dependency
* fixed lint issues
1 parent 02538de commit 45342f5

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "renoun-docs-template",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"private": true,
55
"type": "module",
66
"scripts": {
@@ -61,6 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@eslint/compat": "1.2.6",
64+
"@eslint/js": "9.20.0",
6465
"@ianvs/prettier-plugin-sort-imports": "4.4.1",
6566
"@next/eslint-plugin-next": "15.1.7",
6667
"@tailwindcss/postcss": "^4.0.6",

pnpm-lock.yaml

+4-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/docs/[...slug]/page.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const getBreadcrumbItems = cache(async (slug: string[]) => {
6666
}
6767

6868
frontmatter = await file?.getExportValue("frontmatter")
69+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6970
} catch (e: unknown) {
7071
continue
7172
}

src/components/heading.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ElementType, ReactNode } from "react"
1+
import type { ElementType, ReactNode } from "react"
22

33
type IntrinsicElement = keyof JSX.IntrinsicElements
44
type PolymorphicComponentProps<T extends IntrinsicElement> = {

0 commit comments

Comments
 (0)