Skip to content

Commit ae67845

Browse files
committed
fix: lint error
1 parent 3b52332 commit ae67845

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/configs/vue.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,20 @@ export async function vue(
1111
): Promise<FlatConfigItem[]> {
1212
const { files = [GLOB_VUE] } = options
1313

14-
type VueConfigKey = import('eslint-plugin-vue').VueConfigKey
14+
type VueConfigKey =
15+
| 'base'
16+
| 'essential'
17+
| 'no-layout-rules'
18+
| 'recommended'
19+
| 'strongly-recommended'
20+
| 'vue3-essential'
21+
| 'vue3-recommended'
22+
| 'vue3-strongly-recommended'
1523

1624
const isVue3 = getVueVersion() === 3
1725

1826
const [pluginVue, parserVue] = await Promise.all([
27+
// @ts-expect-error missing types
1928
interopDefault(import('eslint-plugin-vue')),
2029
interopDefault(import('vue-eslint-parser')),
2130
] as const)

0 commit comments

Comments
 (0)