From cbf08ad9814ed2594a74073932437db52cbc9278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20Guilloux?= Date: Wed, 20 Jul 2022 19:43:03 +0200 Subject: [PATCH] fix(lint): fix linting --- src/runtime/server/api/highlight.ts | 2 +- src/runtime/server/storage.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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'