From c3f08b05bee8f9dda3b125bee03e94252956656e Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 16:02:11 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- docs/astro.config.ts | 3 ++- docs/src/content.config.ts | 8 ++++---- packages/starlight-sidebar-swipe/index.ts | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/astro.config.ts b/docs/astro.config.ts index 1ea80a8..b656a92 100644 --- a/docs/astro.config.ts +++ b/docs/astro.config.ts @@ -7,7 +7,8 @@ export default defineConfig({ integrations: [ starlight({ editLink: { - baseUrl: "https://github.com/trueberryless-org/starlight-sidebar-swipe/edit/main/docs/", + baseUrl: + "https://github.com/trueberryless-org/starlight-sidebar-swipe/edit/main/docs/", }, plugins: [ starlightSidebarSwipe(), diff --git a/docs/src/content.config.ts b/docs/src/content.config.ts index 95403d1..7fbcf2c 100644 --- a/docs/src/content.config.ts +++ b/docs/src/content.config.ts @@ -1,7 +1,7 @@ -import { defineCollection } from 'astro:content' -import { docsLoader } from '@astrojs/starlight/loaders'; -import { docsSchema } from '@astrojs/starlight/schema' +import { defineCollection } from "astro:content"; +import { docsLoader } from "@astrojs/starlight/loaders"; +import { docsSchema } from "@astrojs/starlight/schema"; export const collections = { docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }), -} +}; diff --git a/packages/starlight-sidebar-swipe/index.ts b/packages/starlight-sidebar-swipe/index.ts index b65df85..2e0dd0a 100644 --- a/packages/starlight-sidebar-swipe/index.ts +++ b/packages/starlight-sidebar-swipe/index.ts @@ -1,8 +1,8 @@ -import type { StarlightPlugin } from '@astrojs/starlight/types' +import type { StarlightPlugin } from "@astrojs/starlight/types"; export default function starlightSidebarSwipe(): StarlightPlugin { return { - name: 'starlight-sidebar-swipe', + name: "starlight-sidebar-swipe", hooks: { setup({ logger }) { /** @@ -14,8 +14,8 @@ export default function starlightSidebarSwipe(): StarlightPlugin { * * @see https://starlight.astro.build/reference/plugins/ */ - logger.info('Hello from the starlight-sidebar-swipe plugin!') + logger.info("Hello from the starlight-sidebar-swipe plugin!"); }, }, - } + }; }