Skip to content

Commit

Permalink
fixed lint errors and formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
trace2798 committed Jul 1, 2023
1 parent 0c06c5c commit 5a13f16
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@corex",
"extends": ["@corex","next", "next/core-web-vitals"],
"rules": {
"react/react-in-jsx-scope": "off"
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions docs/app/api/og/route.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
import { ImageResponse } from '@vercel/og'

import { ogImageSchema } from '@/lib/validations/og'
Expand Down
1 change: 0 additions & 1 deletion docs/app/components/docsMenu/MenuButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ interface MenuButtonProps {
}

const MenuButton: React.FC<MenuButtonProps> = ({ visible }) => {

if (!visible) {
return null
}
Expand Down
1 change: 0 additions & 1 deletion docs/app/examples/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { siteExampleConfig } from '@/config/site'
import Card from '../components/cards/card'


export const metadata = {
title: 'next-sitemap - Examples',
description: 'Examples where next-sitemap has been utilized.',
Expand Down
1 change: 1 addition & 0 deletions docs/lib/toc.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

import { toc } from 'mdast-util-toc'
Expand Down
3 changes: 0 additions & 3 deletions docs/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { User } from '@prisma/client'
import type { Icon } from 'lucide-react'

import { Icons } from '@/components/icons'

export type NavItem = {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"devDependencies": {
"@corex/workspace": "^4.0.43",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.7",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
Expand Down
33 changes: 33 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2806,6 +2806,15 @@ __metadata:
languageName: node
linkType: hard

"@next/eslint-plugin-next@npm:13.4.7":
version: 13.4.7
resolution: "@next/eslint-plugin-next@npm:13.4.7"
dependencies:
glob: 7.1.7
checksum: 7c9d6d3a44355dfda06982057a309502284add7d9e7a375782e24551f8faab726b7d4d260a053182f536f0928bf5b9c26b81267c437dc3e716a7acd70fd5b1a3
languageName: node
linkType: hard

"@next/swc-darwin-arm64@npm:13.4.4":
version: 13.4.4
resolution: "@next/swc-darwin-arm64@npm:13.4.4"
Expand Down Expand Up @@ -6372,6 +6381,29 @@ __metadata:
languageName: node
linkType: hard

"eslint-config-next@npm:^13.4.7":
version: 13.4.7
resolution: "eslint-config-next@npm:13.4.7"
dependencies:
"@next/eslint-plugin-next": 13.4.7
"@rushstack/eslint-patch": ^1.1.3
"@typescript-eslint/parser": ^5.42.0
eslint-import-resolver-node: ^0.3.6
eslint-import-resolver-typescript: ^3.5.2
eslint-plugin-import: ^2.26.0
eslint-plugin-jsx-a11y: ^6.5.1
eslint-plugin-react: ^7.31.7
eslint-plugin-react-hooks: ^4.5.0
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: ">=3.3.1"
peerDependenciesMeta:
typescript:
optional: true
checksum: fb86da6aaab337c87c202c5a35828f57adeaa9cf33ccd3530c20f196c4b103cc35e76318fab111b24b62a3c089214c8ed1df783e1c128152a88cd60130e050fc
languageName: node
linkType: hard

"eslint-config-react-app@npm:^7.0.1":
version: 7.0.1
resolution: "eslint-config-react-app@npm:7.0.1"
Expand Down Expand Up @@ -10787,6 +10819,7 @@ __metadata:
dependencies:
"@corex/workspace": ^4.0.43
eslint: ^8.41.0
eslint-config-next: ^13.4.7
jest: ^29.5.0
prettier: ^2.8.8
ts-jest: ^29.1.0
Expand Down

0 comments on commit 5a13f16

Please sign in to comment.