aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/vite.config.ts
diff options
context:
space:
mode:
author苏向夜 <46275354+fu050409@users.noreply.github.com>2026-03-26 08:50:26 +0800
committerGitHub <noreply@github.com>2026-03-26 08:50:26 +0800
commit7d0e92e6d3b172adfe552ffae9b97f8dad6f63ae (patch)
treef54ab2bf4867eb69a6e7db890c882f9ea080a324 /packages/docs/vite.config.ts
parente356ab996ad3ef4ad5fb9c90d4a4b4e61ff3342d (diff)
parent41589eac819da64e832539df3e1c7117a6393ad0 (diff)
downloadDropOut-7d0e92e6d3b172adfe552ffae9b97f8dad6f63ae.tar.gz
DropOut-7d0e92e6d3b172adfe552ffae9b97f8dad6f63ae.zip
chore(lint): partial apply docs code lints (#123)
cc @NtskwK ptal, and, some codes cannot pass the code lint, check plz. ## Summary by Sourcery Apply linting and formatting updates across the docs app, and align tooling and release config for the @dropout/docs package. Enhancements: - Normalize imports, string literals, and JSX formatting across the docs app for consistent style and lint compliance. - Tidy i18n, routing, and docs loader code without changing behavior, improving readability and maintainability. Build: - Register the @dropout/docs package in the release/config system with nodejs resolver and alpha pre-release tagging. - Update docs-related Vite and TypeScript config files to match the new linting and path conventions. - Remove the nodejs publish command block from the shared changes config to simplify release behavior. Chores: - Bump @biomejs/biome to the latest version and add core-js to onlyBuiltDependencies for tooling compatibility. - Add a changeset for @dropout/docs describing the docs linting patch release. - Introduce or update Biome and docs content metadata config files to support the new linting setup.
Diffstat (limited to 'packages/docs/vite.config.ts')
-rw-r--r--packages/docs/vite.config.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/docs/vite.config.ts b/packages/docs/vite.config.ts
index f408dc5..6ad484b 100644
--- a/packages/docs/vite.config.ts
+++ b/packages/docs/vite.config.ts
@@ -1,9 +1,9 @@
-import { reactRouter } from '@react-router/dev/vite';
-import tailwindcss from '@tailwindcss/vite';
-import { defineConfig } from 'vite';
-import tsconfigPaths from 'vite-tsconfig-paths';
-import mdx from 'fumadocs-mdx/vite';
-import * as MdxConfig from './source.config';
+import { reactRouter } from "@react-router/dev/vite";
+import tailwindcss from "@tailwindcss/vite";
+import mdx from "fumadocs-mdx/vite";
+import { defineConfig } from "vite";
+import tsconfigPaths from "vite-tsconfig-paths";
+import * as MdxConfig from "./source.config";
export default defineConfig({
plugins: [