build: fix linting

This commit is contained in:
iCrawl
2023-08-24 23:08:29 +02:00
parent 9811514deb
commit e3127a0735
29 changed files with 338 additions and 172 deletions

View File

@@ -91,9 +91,9 @@
"lighthouse": "^11.0.0",
"prettier": "^3.0.2",
"turbo": "^1.10.13",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"unocss": "^0.55.2",
"vercel": "^32.0.1",
"vercel": "^32.0.2",
"vitest": "^0.34.2"
},
"engines": {

View File

@@ -97,8 +97,8 @@
"lighthouse": "^11.0.0",
"prettier": "^3.0.2",
"turbo": "^1.10.13",
"typescript": "^5.1.6",
"vercel": "^32.0.1",
"typescript": "^5.2.2",
"vercel": "^32.0.2",
"vitest": "^0.34.2"
},
"engines": {

View File

@@ -3,10 +3,6 @@ import { join } from 'node:path';
import { connect } from '@planetscale/database';
const sql = connect({
async fetch(input, init) {
// @ts-expect-error: Deleting cache or setting as undefined, same thing
return fetch(input, { ...init, cache: undefined, next: { revalidate: 3_600 } });
},
url: process.env.DATABASE_URL!,
});