Skip to content

Commit

Permalink
fix: disable no-default-export for vitepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Jan 16, 2024
1 parent 6ef7506 commit 1575ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/imports.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { pluginAntfu, pluginImport } from '../plugins';
import { GLOB_SRC_EXT, GLOB_TESTS } from '../globs';
import { GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS } from '../globs';
import type { FlatConfigItem, OptionsStylistic } from '../types';

export function imports(
Expand Down Expand Up @@ -69,7 +69,7 @@ export function imports(
},
},
{
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`],
files: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`, `**/.vitepress/config.${GLOB_SRC}`],
rules: {
'import/no-default-export': 'off',
'no-console': 'off',
Expand Down

0 comments on commit 1575ab7

Please sign in to comment.