refactor: biome lint part 5

This commit is contained in:
javayhu 2025-04-18 22:23:07 +08:00
parent f1a0d5c9b5
commit bbb22f8438
5 changed files with 6 additions and 5 deletions

View File

@ -56,7 +56,8 @@
"style": {
"useTemplate": "off",
"noNonNullAssertion": "off",
"useShorthandArrayType": "off"
"useShorthandArrayType": "off",
"useNodejsImportProtocol": "off"
},
"a11y": {
"useValidAnchor": "off",

View File

@ -1,4 +1,4 @@
import path from 'node:path';
import path from 'path';
import { DEFAULT_LOCALE, LOCALES } from '@/i18n/routing';
import { defineCollection, defineConfig } from '@content-collections/core';
import {

View File

@ -1,4 +1,4 @@
import { randomUUID } from 'node:crypto';
import { randomUUID } from 'crypto';
import { getPresignedUploadUrl } from '@/storage';
import { StorageError } from '@/storage/types';
import { type NextRequest, NextResponse } from 'next/server';

View File

@ -1,4 +1,4 @@
import { randomUUID } from 'node:crypto';
import { randomUUID } from 'crypto';
import db from '@/db';
import { payment, session, user } from '@/db/schema';
import {

View File

@ -1,4 +1,4 @@
import { randomUUID } from 'node:crypto';
import { randomUUID } from 'crypto';
import {
GetObjectCommand,
PutObjectCommand,