We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b52332 commit ae67845Copy full SHA for ae67845
src/configs/vue.ts
@@ -11,11 +11,20 @@ export async function vue(
11
): Promise<FlatConfigItem[]> {
12
const { files = [GLOB_VUE] } = options
13
14
- type VueConfigKey = import('eslint-plugin-vue').VueConfigKey
+ 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'
23
24
const isVue3 = getVueVersion() === 3
25
26
const [pluginVue, parserVue] = await Promise.all([
27
+ // @ts-expect-error missing types
28
interopDefault(import('eslint-plugin-vue')),
29
interopDefault(import('vue-eslint-parser')),
30
] as const)
0 commit comments