File tree Expand file tree Collapse file tree 4 files changed +629
-21
lines changed
Expand file tree Collapse file tree 4 files changed +629
-21
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import {
2020import Link from 'next/link'
2121import { Route } from 'next'
2222import { GetBorrowQuery } from '@/lib/api/borrow'
23+ import { ViewTransition } from 'react'
2324
2425export const ListCardBorrow : React . FC <
2526 React . PropsWithChildren < {
Original file line number Diff line number Diff line change 1+ import nextCoreWebVitals from 'eslint-config-next/core-web-vitals'
2+ import nextTypescript from 'eslint-config-next/typescript'
13import { dirname } from 'path'
24import { fileURLToPath } from 'url'
3- import { FlatCompat } from '@eslint/eslintrc'
45
56const __filename = fileURLToPath ( import . meta. url )
67const __dirname = dirname ( __filename )
78
8- const compat = new FlatCompat ( {
9- baseDirectory : __dirname ,
10- } )
11-
129const eslintConfig = [
1310 {
1411 ignores : [
@@ -19,7 +16,8 @@ const eslintConfig = [
1916 'next-env.d.ts' ,
2017 ] ,
2118 } ,
22- ...compat . extends ( 'next/core-web-vitals' , 'next/typescript' ) ,
19+ ...nextCoreWebVitals ,
20+ ...nextTypescript ,
2321]
2422
2523export default eslintConfig
Original file line number Diff line number Diff line change 99 "analyze" : " next experimental-analyze" ,
1010 "build" : " next build --turbopack" ,
1111 "start" : " next start" ,
12- "lint" : " eslint . " ,
13- "format" : " prettier --write . " ,
12+ "lint" : " biome check " ,
13+ "format" : " biome format --write" ,
1414 "typegen" : " next typegen && tsc --noEmit" ,
1515 "typecheck" : " tsc --noEmit"
1616 },
7474 "zod" : " ^4.0.0"
7575 },
7676 "devDependencies" : {
77- "@eslint/eslintrc" : " ^3" ,
7877 "@tailwindcss/postcss" : " ^4.0.8" ,
7978 "@tailwindcss/typography" : " ^0.5.16" ,
8079 "@types/ioredis" : " ^5.0.0" ,
8180 "@types/node" : " ^20" ,
8281 "@types/qrcode" : " ^1.5.6" ,
8382 "@types/react" : " 19.2.7" ,
8483 "@types/react-dom" : " 19.2.3" ,
84+ "biome" : " ^0.3.3" ,
8585 "eslint" : " ^9" ,
8686 "eslint-config-next" : " ^16.1.6" ,
8787 "postcss" : " ^8" ,
You can’t perform that action at this time.
0 commit comments