refactor: biome lint part 5
This commit is contained in:
parent
f1a0d5c9b5
commit
bbb22f8438
@ -56,7 +56,8 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"useTemplate": "off",
|
"useTemplate": "off",
|
||||||
"noNonNullAssertion": "off",
|
"noNonNullAssertion": "off",
|
||||||
"useShorthandArrayType": "off"
|
"useShorthandArrayType": "off",
|
||||||
|
"useNodejsImportProtocol": "off"
|
||||||
},
|
},
|
||||||
"a11y": {
|
"a11y": {
|
||||||
"useValidAnchor": "off",
|
"useValidAnchor": "off",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import path from 'node:path';
|
import path from 'path';
|
||||||
import { DEFAULT_LOCALE, LOCALES } from '@/i18n/routing';
|
import { DEFAULT_LOCALE, LOCALES } from '@/i18n/routing';
|
||||||
import { defineCollection, defineConfig } from '@content-collections/core';
|
import { defineCollection, defineConfig } from '@content-collections/core';
|
||||||
import {
|
import {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { randomUUID } from 'node:crypto';
|
import { randomUUID } from 'crypto';
|
||||||
import { getPresignedUploadUrl } from '@/storage';
|
import { getPresignedUploadUrl } from '@/storage';
|
||||||
import { StorageError } from '@/storage/types';
|
import { StorageError } from '@/storage/types';
|
||||||
import { type NextRequest, NextResponse } from 'next/server';
|
import { type NextRequest, NextResponse } from 'next/server';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { randomUUID } from 'node:crypto';
|
import { randomUUID } from 'crypto';
|
||||||
import db from '@/db';
|
import db from '@/db';
|
||||||
import { payment, session, user } from '@/db/schema';
|
import { payment, session, user } from '@/db/schema';
|
||||||
import {
|
import {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { randomUUID } from 'node:crypto';
|
import { randomUUID } from 'crypto';
|
||||||
import {
|
import {
|
||||||
GetObjectCommand,
|
GetObjectCommand,
|
||||||
PutObjectCommand,
|
PutObjectCommand,
|
||||||
|
Loading…
Reference in New Issue
Block a user