Skip to content

Commit 005cfe0

Browse files
committed
chore: fix site
1 parent c324af1 commit 005cfe0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/.vitepress/config.mts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { DefaultTheme, UserConfig } from "vitepress";
22
import { defineConfig } from "vitepress";
3-
import { BUNDLED_LANGUAGES } from "shiki";
43
import path from "path";
54
import { fileURLToPath } from "url";
65
import eslint4b from "vite-plugin-eslint4b";
@@ -10,10 +9,6 @@ import { viteCommonjs, vitePluginAutoRule } from "./vite-plugin.mjs";
109
import "./build-system/build.js";
1110
const dirname = path.dirname(fileURLToPath(import.meta.url));
1211

13-
// Include `json5` as alias for jsonc
14-
const jsonc = BUNDLED_LANGUAGES.find((lang) => lang.id === "jsonc");
15-
if (jsonc) jsonc.aliases = [...(jsonc?.aliases ?? []), "json5"];
16-
1712
function ruleToSidebarItem({
1813
meta: {
1914
docs: { ruleId, ruleName },
@@ -60,7 +55,7 @@ export default async (): Promise<UserConfig<DefaultTheme.Config>> => {
6055
"process.env.NODE_DEBUG": "false",
6156
},
6257
optimizeDeps: {
63-
// exclude: ["vue-eslint-parser"],
58+
exclude: ["eslint-compat-utils"],
6459
},
6560
},
6661

0 commit comments

Comments
 (0)