Skip to content

Commit 7720c19

Browse files
committed
fix: remove DefaultTheme usage and fix conflicts
1 parent aa53fe0 commit 7720c19

33 files changed

+753
-67
lines changed

eslint.config.mjs

+8-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,16 @@ export default [
2020
'no-restricted-imports': [
2121
'error',
2222
{
23-
patterns: ['^(?!.*\\.[a-z]+$).*']
23+
name: 'vitepress',
24+
importNames: ['DefaultTheme']
2425
}
2526
],
27+
//'no-restricted-imports': [
28+
// 'error',
29+
// {
30+
// patterns: ['^(?!.*\\.[a-z]+$).*'],
31+
// }
32+
//],
2633
'custom-rules/require-file-extension-in-exports': 'error',
2734
'vue/multi-word-component-names': 'off'
2835
}

packages/theme/src/shared.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
22
export type {
33
Awaitable,
4-
DefaultTheme,
54
HeadConfig,
65
Header,
76
LocaleConfig,

0 commit comments

Comments
 (0)