diff --git a/src/runtime/server/api/highlight.ts b/src/runtime/server/api/highlight.ts index 29150dab0..154f3134b 100644 --- a/src/runtime/server/api/highlight.ts +++ b/src/runtime/server/api/highlight.ts @@ -1,4 +1,4 @@ -import { createError, defineLazyEventHandler, useBody } from 'h3' +import { /* createError, */defineLazyEventHandler, useBody } from 'h3' import { getHighlighter, BUNDLED_LANGUAGES, BUNDLED_THEMES, Lang, Theme } from 'shiki-es' import consola from 'consola' import { HighlightParams, HighlightThemedToken } from '../../types' diff --git a/src/runtime/server/storage.ts b/src/runtime/server/storage.ts index 8f126e4a5..c082c04b7 100644 --- a/src/runtime/server/storage.ts +++ b/src/runtime/server/storage.ts @@ -2,6 +2,7 @@ import { prefixStorage } from 'unstorage' import { joinURL, withLeadingSlash, withoutTrailingSlash } from 'ufo' import { hash as ohash } from 'ohash' import type { CompatibilityEvent } from 'h3' +// eslint-disable-next-line import/no-named-as-default import defu from 'defu' import type { QueryBuilderParams, ParsedContent, QueryBuilder, ContentTransformer } from '../types' import { createQuery } from '../query/query'