File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11import type { DefaultTheme , UserConfig } from "vitepress" ;
22import { defineConfig } from "vitepress" ;
3- import { BUNDLED_LANGUAGES } from "shiki" ;
43import path from "path" ;
54import { fileURLToPath } from "url" ;
65import eslint4b from "vite-plugin-eslint4b" ;
@@ -10,10 +9,6 @@ import { viteCommonjs, vitePluginAutoRule } from "./vite-plugin.mjs";
109import "./build-system/build.js" ;
1110const 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-
1712function 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
You can’t perform that action at this time.
0 commit comments