File tree Expand file tree Collapse file tree 3 files changed +79
-31
lines changed Expand file tree Collapse file tree 3 files changed +79
-31
lines changed Original file line number Diff line number Diff line change 9999 "eslint-plugin-unicorn" : " ^51.0.1" ,
100100 "eslint-plugin-unused-imports" : " ^3.1.0" ,
101101 "eslint-plugin-vitest" : " ^0.3.25" ,
102- "eslint-plugin-vue" : " ^9.22 .0" ,
102+ "eslint-plugin-vue" : " ^9.23 .0" ,
103103 "globals" : " ^14.0.0" ,
104104 "jsonc-eslint-parser" : " ^2.4.0" ,
105105 "local-pkg" : " ^0.5.0" ,
126126 "eslint-plugin-react-hooks" : " ^4.6.0" ,
127127 "eslint-plugin-react-refresh" : " ^0.4.5" ,
128128 "eslint-plugin-svelte" : " ^2.35.1" ,
129- "esno" : " ^4.0.0" ,
130129 "execa" : " ^8.0.1" ,
131130 "fast-glob" : " ^3.3.2" ,
132131 "fs-extra" : " ^11.2.0" ,
135134 "simple-git-hooks" : " ^2.10.0" ,
136135 "svelte-eslint-parser" : " ^0.33.1" ,
137136 "tsup" : " ^8.0.2" ,
137+ "tsx" : " ^4.7.1" ,
138138 "typescript" : " ^5.3.3"
139139 },
140140 "simple-git-hooks" : {
Original file line number Diff line number Diff line change @@ -35,6 +35,26 @@ export async function vue(
3535
3636 return [
3737 {
38+ // This allows Vue plugin to work with auto imports
39+ // https://github.com/vuejs/eslint-plugin-vue/pull/2422
40+ languageOptions : {
41+ globals : {
42+ computed : 'readonly' ,
43+ defineEmits : 'readonly' ,
44+ defineExpose : 'readonly' ,
45+ defineProps : 'readonly' ,
46+ onMounted : 'readonly' ,
47+ onUnmounted : 'readonly' ,
48+ reactive : 'readonly' ,
49+ ref : 'readonly' ,
50+ shallowReactive : 'readonly' ,
51+ shallowRef : 'readonly' ,
52+ toRef : 'readonly' ,
53+ toRefs : 'readonly' ,
54+ watch : 'readonly' ,
55+ watchEffect : 'readonly' ,
56+ } ,
57+ } ,
3858 name : 'coderwyd:vue:setup' ,
3959 plugins : {
4060 vue : pluginVue ,
You can’t perform that action at this time.
0 commit comments